CODING A COMPLEX FORM
Writing the setup commands
The setup commands precede the form description commands
for lines, boxes, and text. In general, the setup commands
specify the parameters that describe the form.
Invoke the Editor utility and enter the commands shown in figure
6-2.
Figure 6-2.
Setup commands
FORM 1STFRM;
GRID FMT1;
FONTS UN114A,UN106A,UN104C;
Notice that the PORTRAIT or LANDSCAPE command and the
PAPER command are omitted. These commands are optional;
when they are omitted, the system uses the default values.
Using the COMMENT command
Comments enable you to include in your source statement,
messages or reminders that help you organize your FDL
commands logically. These comments are not printed on the
form but can be useful if you or someone else modifies the form
at a later date.
If the semicolon is omitted, the forms compiler cannot determine
where the comment ends and may treat commands as
comments.
Enter the COMMENT shown in figure 6-3, which indicates that
horizontal lines are coded next.
Figure 6-3.
COMMENT command
FORM 1STFRM;
GRID FMT1;
FONTS UN114A,UN106A,UN104C;
COMMENT *** DRAW HORIZONTAL LINES ***;
Drawing lines
LINE commands are used to construct horizontal and vertical
lines which, in turn, are used to construct boxes.
6-2
XEROX 4850/4890 HIGHLIGHT COLOR LPS FORMS CREATION REFERENCE