Xerox Xerox Printer Access Facility (XPAF) Support & Software 用户指南
XPAF Forms Generator
48
User Guide and Reference
LET command
Use the LET command to define variable names. You can specify all x
and y coordinates with either literal values or variable names. If you use
variable names, you must first define them with the LET command. The
LET command allows an identifier (variable) to equal an n value.
Variable names must begin with an alphabetic character and may be up
to 16 characters in length.
and y coordinates with either literal values or variable names. If you use
variable names, you must first define them with the LET command. The
LET command allows an identifier (variable) to equal an n value.
Variable names must begin with an alphabetic character and may be up
to 16 characters in length.
You can define up to 50 variables for each form (two to ten variables
for each form is typical). You can define the maximum number of
variables in one LET statement or in individual statements. You can
place LET statements anywhere in the form following the FORM
statement, and you can redefine variables any number of times.
for each form is typical). You can define the maximum number of
variables in one LET statement or in individual statements. You can
place LET statements anywhere in the form following the FORM
statement, and you can redefine variables any number of times.
You can only set variables to a specific numeric amount. You cannot
specify units in the LET statement. However, you can specify units (if
needed) when the variable is used as a coordinate. For example, if
variable Y1 is set to 3 in a LET statement and a line is drawn at Y1
inches, it is drawn at 3 inches. If the grid units are dots and no units
are specified, then the line Y1 is drawn at 3 dots.
specify units in the LET statement. However, you can specify units (if
needed) when the variable is used as a coordinate. For example, if
variable Y1 is set to 3 in a LET statement and a line is drawn at Y1
inches, it is drawn at 3 inches. If the grid units are dots and no units
are specified, then the line Y1 is drawn at 3 dots.
Figure 4–24 shows the LET command syntax flow.
Figure 4–24.
LET command syntax
LET
identifier
=
identifier
;
n