Test Expressions; Coding A Test Expression - Xerox 6100BD - Phaser Color Laser Printer Software Manual

Using lcds print description language
Hide thumbs Also See for 6100BD - Phaser Color Laser Printer:
Table of Contents

Advertisement

Using logical processing

Test expressions

Coding a test expression

Criteria identifiers
(criids)
Exceptions
3-2
To define a logical processing command fully, you must specify
one or two fields in the record that will be tested. In general, a
logical processing command has the following format:
parameter command-keyword = options, ...,
command-keyword TEST = testexp, ...;
The testexp parameter of a logical processing command defines
a test that will be performed on either one or two specified fields
and their associated contents. The test result is a TRUE or
FALSE value. The fields in the current data record are compared
with either of the following:
One or more constants associated with the test, using either
an EQUAL (EQ) or a NOT EQUAL (NE) operator.
The contents of the field in prior records using a NOT EQUAL
(NE) operator.
The basic element used to describe a test for a logical function is
the CRITERIA command.
To activate testing, you code the TEST parameter of any logical
processing command that has one. (For information on
constructing the TEST parameter, refer to the command
description, Syntax section, for the command you want to code.)
In the TEST parameter, you must include one or two criteria
identifiers (criids), which you specify in the CRITERIA command.
These criid options are the identifiers of the CRITERIA
commands that specify the location of the test fields and what
they will be compared to.
There are two special cases in which the TEST parameter does
not function as described above, and the CRITERIA command
fails:
For offline printing: the record is too short to include the
whole field that is being tested. (For online printing, the
record is padded with blanks to make it large enough.)
Using LCDS Print Description Language

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents