Creating a Box and Corners
229
3. The IGP is now ready for Create Form mode commands. Design a box
with a line thickness (
LT
) of 2 dots, a top left corner at starting row (
SR
)
35, starting column (
SC
) 16, and a bottom right corner at ending row (
ER
)
53, ending column (
EC
) 61. The STOP command must be entered to
inform the IGP that the Box command is complete.
Enter Format
BOX BOX
2;35;16;53;61
LT;SR;SC;ER;EC
STOP STOP
4. Use the Corner command to set the box off with corners having a line
thickness (
LT
) of 3 dots, a top left corner at row (
SR
) 30, column (
SC
) 13,
a bottom right corner at row (
ER
) 57, column (
EC
) 64, a vertical length
(
VL
) 5 character spaces long, and a horizontal length (
HL
) 7 character
spaces long. The STOP command must be entered to stop the Corner
command and END must be entered to terminate the Create Form mode
to prepare for printing.
Enter Format
CORNER CORNER
3;30;13;57;64;5;7
LT;SR;SC;ER;EC;VL;HL
STOP STOP
END END
5. Now use the Execute command and form name to prepare for printing.
Enter a blank line using a terminator and then the Normal command to
instruct the IGP to return to the Normal mode after executing the form.
Enter Format
~EXECUTE;PRACTICE (cc)EXECUTE
;formname
[
;
PAGE
n
][
;FC
]
~NORMAL (cc)NORMAL
6. To print the form, exit the file (if necessary for your system) and use the
system print command to print the file. For example, after exiting the file
and your system prompt returns:
Enter Format
.PRINT PRACTC.FRM (System Format)
The form should look like the one shown in Figure 50. When it was printed,
the form program was stored in the IGP memory. If errors are detected in the
program, error messages are printed and only the error-free portions of the
program are stored in the IGP memory. Refer to “Solving Program Errors” on
page 248.