Xerox FreeFlow Printer User Manual


 
Using logical processing
Using LCDS Print Description Language 3-3
A specific print line range is specified by the LINENUM
parameter, and the line or lines that are being tested contain
no record (that is, the lines have been skipped or spaced
over).
If the test specifies a change mode function, the CRITERIA
command fails because no change has occurred. However, the
value for the LAST option of the CHANGE parameter remains
unchanged for comparison with the next record.
Test expression
syntax
The following diagram shows the syntax for a definition of the
test expression for a logical processing command. The test
definition is referenced in the syntax of each of the logical
processing commands that follow it.
Test expression
example
If only one criteria identifier is present (C1 in this case), the test
is satisfied if the criterion is met. If the test is satisfied, the logical
processing function is performed on the tested field.
When two criteria identifiers are present, a test expression that
contains OR (such as the RSELECT TEST command in the
following example), the test is satisfied if either one of the two
identifiers (in this case, C1 or C2) is present.
TEST= criid;
TEST=(criid1, AND, criid2);
TEST=(criid1, OR, criid2);
tabid: TABLE CONSTANT=sc;
criid: CRITERIA CONSTANT=(offset, length, {EQ|NE}, table);
command-keyword TEST=criid;
T1: TABLE CONSTANT=’Page 001’;
C1: CRITERIA CONSTANT=(100,8,EQ,T1);
C2: CRITERIA CONSTANT=(0,3,NE,LAST);
RSELECT TEST=(C1,OR,C2);