beautypg.com

Xerox 4112-4127 Enterprise Printing System-192 User Manual

Page 200

background image

Using logical processing

3-20

Using LCDS Print Description Language

– Non-numeric characters, such as currency symbols,

positive and negative number designators, and alphabetic
text may only precede, follow, or enclose the numeric
character string.
Valid character strings would include the following if the
appropriate VCODE table is specified:
‘$(1,500.00)’, ‘–1.500,00 DM’, and ‘kr–1.500,00’

– A numeric character string is evaluated as a negative

number if a minus sign (–) either precedes or follows the
string, or if the string is enclosed in a single set of
parentheses.
Because of the simplified procedure used to determine
negative numbers, the following occurrences make the
string invalid:

More than one opening parenthesis preceding the
string

More than one closing parenthesis following the string

More than one minus sign.

– Leading zeros in the integer part and trailing zeros in the

fractional part of a numeric character string, do not affect
the value of the string. The “decimal point” character
separates the integer part of a number from the fractional
part. If a “decimal point” is not present, there is an implied
decimal point at the end of an integer number.
The “thousands separator” is allowed within a numeric
character string only if it is placed between groups of
three digits going away from the “decimal point.” A
“decimal point” or a “thousands separator” may appear
repeatedly outside the numeric character string.
In VCODE0, the following are examples of valid numeric
character strings: ‘50,000,’ ’0,000,50,’ ‘,,,42,’ ‘1.000,00,’
and ‘.......5.’

The referenced TABLE command may not use the MASK
parameter.

When more than one character string constant is specified in
the TABLE command, the following occurs:
– If the operator is EQ, the system tests the variable data

against all the values in the TABLE CONSTANT
statement. If any of the values are equal, the system
returns a TRUE value.