Xerox 721P85530 用户手册

下载
页码 488
USING LOGICAL PROCESSING
7-8
XEROX DOCUPRINT 180 LPS PDL REFERENCE
Combining change and constant modes
The CRITERIA tables may specify either change mode or constant 
mode functions; there are no restrictions on their usage or 
combination.
There are two special cases: when the record or block is too short to 
include the field being tested and when the line being tested contains 
no record, that is, it has been skipped. If the test specifies a constant 
mode function, the CRITERIA fails.
Note:
If the test specifies a change mode function, the CRITERIA 
fails because no change has occurred, but the value for LAST option 
of the CHANGE parameter is unchanged for comparison with the 
next record. (See additional information under the “Criteria 
parameter functions” section.)
A compiler error occurs if you attempt an AND test on two different 
criteria which appear on two non-overlapping line ranges. For 
example, a logic problem occurs with ROFFSET where line 3 
contains Criteria 1 and Line 2 contains Criteria 2, that is, Criteria 1 
and Criteria 2 are not equal to LAST.
Points to note
Note the following when using the CRITERIA command:
When change mode CRITERIA commands are evaluated, a string 
from the current line is compared with a string saved from the 
corresponding part of a previous line.
If the comparison is not equal, the string from the current line 
becomes the saved comparison string for subsequent lines and 
the criteria is considered true.
If two records are overprinted on the same line but with different 
data in the field defined by the CRITERIA command, the string 
from the last overprint record becomes the saved comparison 
string and the CHANGE CRITERIA is satisfied.
If the LINENUM parameter is used, lines within the specified 
range are processed normally, and lines outside the range are 
not evaluated. Thus, change mode comparison strings are not 
saved from lines outside of a LINENUM range.
No print records (carriage control specifies no printing but only 
skipping or spacing) are evaluated for logical processing in the 
following manner:
If change mode is specified, no print records are evaluated.
If constant mode is specified, no print records are evaluated.