
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.
Содержание 6100BD - Phaser Color Laser Printer
Страница 16: ...Table of contents xvi Using LCDS Print Description Language...
Страница 26: ...Introduction xxvi Using LCDS Print Description Language...
Страница 108: ...PDL principles and procedures 1 82 Using LCDS Print Description Language...
Страница 151: ...Specifying input parameters Using LCDS Print Description Language 2 43 Figure 2 3 Record format types...
Страница 227: ...Using logical processing Using LCDS Print Description Language 3 47 Figure 3 6 Effects of RPAGE SIDE parameter...
Страница 228: ...Using logical processing 3 48 Using LCDS Print Description Language Figure 3 7 Effects of RPAGE WHEN parameter...
Страница 354: ...Specifying print format parameters 4 114 Using LCDS Print Description Language...
Страница 436: ...Using PDL commands for graphics 6 8 Using LCDS Print Description Language...
Страница 452: ...PDL command and DJDE summary A 16 Using LCDS Print Description Language...
Страница 470: ...Character code assignments C 8 Using LCDS Print Description Language...
Страница 476: ...Offline specifications D 6 Using LCDS Print Description Language Figure D 2 LPS tape format diagram...
Страница 478: ...Offline specifications D 8 Using LCDS Print Description Language...
Страница 506: ...INDEX INDEX 12 Using LCDS Print Description Language...