6–23Form Examples and Exercises
Adding Horizontal and Vertical Lines
7. Now return to the file. When the file reopens, the existing program (the
contents of the file) is displayed. Use your system commands to reopen
the file. For example:
Enter Format
PRACTC.FRM (System Format)
8. All Create Form mode commands must be entered into the program
before the End command line. Add three horizontal lines, each with a
thickness (LT) of 1 at rows (R) 40, 45, and 49 and each ranging from
column (SC) 16 to column (EC) 61.
Enter Format
HORZ HORZ
1;40;16;61 LT;R;SC;EC
1;45;16;61
1;49;16;61
STOP STOP
9. Add two vertical lines, each with a thickness (LT) of 1, both in column
(C) 49, one ranging from row (SR) 40 to row (ER) 45 and the other
ranging from row (SR) 49 to row (ER) 53.
Enter Format
VERT VERT
1;49;40;45 LT;C;SR;ER
1;49;49;53
STOP STOP
The last two commands have added to the form definition. PRACTICE now
looks like Figure 6–7.