112 96-8000
June 1999
OPERATION
BLOCK O PERATIONS
Block operations can be performed on a group of one or more blocks of the program. These operations include
BLOCK DUPLICATE, BLOCK MOVE, and BLOCK DELETE. Prior to a block being defined, the bottom right of
the screen shows how to define a block; the F1 key is pressed when the cursor is on the first line of the block
and the F2 key is pressed when the cursor is on the last line of the block.
Once a block is defined, the lower right of the screen shows how to manipulate the block; the INSERT key is
used to duplicate the defined block wherever the cursor is positioned, the DELETE key is used to delete the
block, the ALTER key is used to move the block, and the UNDO key cancels the block definition.
When a block is defined, the cursor is indicated by the îš“ > îš“ symbol and is always at the beginning of a line.
When a block is copied or moved, the lines are added after the block with the cursor. Only whole command
lines may be moved with the block functions.
Parts of programs can be copied from one program to another with the block copy feature. This is done by
highlighting the section of code that is to be copied using the F1 and F2 keys. Once a section of code is
highlighted, you then change to another program by selecting an existing program or create a new one. Cursor
to the location that the previously defined block is to be inserted and press the INSERT or write key. A copy of
the defined block will be inserted into the current program and the copied code segment becomes the cur-
rently-defined block. Press the UNDO key to exit the BLOCK COPY mode.
Blocks of code can be copied into an MDI program, but blocks of code cannot be copied from an MDI program
into another program. You can always rename the MDI program and then copy its text to any other program in
the manner described above.