3 editing an f-tran file, 1 free-style editing, 4 compiling – Micromod Micro-DCI: 53MT6000 Micro-Tools User Manual

Page 124: 5 saving an f-tran file, 1 overwriting the opened file, 2 saving with a new name, Figure 8-2. f-tran editor window for a new file

Advertising
background image

53MT6000 INSTRUCTION MANUAL

108 F-TRAN Programming

8.3 Editing an F-TRAN File

Once an F-TRAN file has been selected the F-TRAN EDITOR window opens, displaying the file. In the
case of a new file, the window will contain the line required by F-TRAN.

8.3.1 Free-Style Editing

You can type directly into the F-TRAN EDITOR window (

Figure 8-2

), using typical word-processing tech-

niques such as swiping text to highlight it, then using cut, copy and paste functions. Keyboard shortcuts
are available as shown on the EDIT menu.

8.4 Compiling

You can check the F-TRAN file for syntax errors using the Editor.

To compile a file that is in the F-TRAN Editor window, use the COMPILE button. If errors are found, a new
button, VIEW ERRORS, will appear. Clicking the VIEW ERRORS button displays the window which con-
tains the list of errors. The errors can be printed from this window using the FILE menu PRINT command.
Selecting an error causes the offending line in the editor window to be highlighted.

8.5 Saving an F-TRAN File

8.5.1 Overwriting the Opened File

To save the open F-TRAN instance or template file with the same name, overwriting the currently existing
file, use the SAVE button in the editor window or select FILE > SAVE.

8.5.2 Saving with a New Name

To save the open F-TRAN instance or template file with a different name, use the FILE > SAVE AS com-
mand from the FILE menu. If you save the file with a new name, the file opened for editing will not be
changed.

The SAVE AS command can be used to make an instance from a template file.

Figure 8-2. F-TRAN Editor Window for a New File

Advertising