Руководство Пользователя для Xerox Xerox Printer Access Facility (XPAF) Support & Software

Скачать
Страница из 97
 
 
XPAF Forms Generator 
49 
User Guide and Reference 
                     
 
 
Parameters 
identifier = identifier specifies the variable name and value you select 
for the LET command.  The first identifier specifies the variable and 
the second identifier specifies the variable value n. 
 
Default 
None. 
 
Examples 
Long form: 
 
LET X1 = 5.5, X2 = 4.0, Y1 = 3.0; 
There is no short form. 
 
         Relative coordinate 
 
You can specify all coordinates  as literal values or variables.  You must 
first define variables in the LET statement. Refer to the “LET command” 
section for additional information.  If you use variables outside of the 
LET command, they are called relative coordinates.  These coordinates 
can also have a positive or a negative value.  This allows you to place 
text items relative to one another.  If you want to shift the whole block of 
text up or have to change the initial  values.  You can shift text 
automatically when you add or delete text items. 
 
XFG uses spaces to delimit  keywords.  Therefore, relative 
coordinates must not contain spaces between  the variable name Y1 
and the value +.5. 
I.E. AT Y1+.5 will work while AT Y1  +.5 will not. 
 
Figure 4–25 shows the variable syntax flow. 
 
Figure 4–25. 
Relative coordinate syntax 
 
 
 
identifier 
 
 
 
Parameters 
identifier is the variable name you specify for the relative 
coordinate. 
 
+ or – specifies a positive or negative value that you can apply to the 
n value. 
 
Default 
None. 
 
 
Examples 
The following  examples show the long form of the relative 
coordinate variables. 
 
In this example, you can define the Y coordinate as the value of 
Y1 plus 3 centimeters: 
 
AT Y1+3 CM