Using logical processing
3-12
Using LCDS Print Description Language
– Compare the character in that position for absolute
equality.
– Ignore the character in that position (consider the
character, whatever it is, to compare as equal).
– Compare the character in that position for type, for
example, alphabetic, numeric, or some specially defined
type.
Character types
An attribute called
type
may be associated with any character or
characters in a character set. The possible types are identified
by the integers 1 through 7. Any single character in a set, for
example (\), either has a type (type 1, type 2, type 3, and so
forth) or it does not. If a character has no type, it is referred to as
“untyped.” It is possible for any character to be untyped, to have
one type, or to have multiple types (for example, to be type 2 and
type 3).
For every standard character set, there is a set of standard
default type assignments which, for most applications, is
sufficient without modification. These assignments are defined
as follows:
•
The numeric characters 0 through 9 are type 1 characters
•
The uppercase and lowercase alphabetic characters A
through Z and a through z are type 2 characters.
Use of these default type assignments can be invoked by the
VOLUME TCODE command.
The defining of types, that is, the associating of type numbers
with any group of characters in a character set, is described in
the “TCODE command” section of the “Specifying input
parameters” chapter.
Masked
comparisons
using default type
assignments
Performing masked comparisons using unmodified standard
default type assignments requires coding the following:
•
TCODE parameter of the VOLUME command:
Allows you
to select a set of standard default type assignments.
•
MASK and CONSTANT parameters of one or more
occurrences of the TABLE command:
Together, these
parameters define exactly how the comparisons for that
TABLE command are made using the set of type
assignments specified by the TCODE parameter of the
VOLUME command.
Содержание Docuprint 75
Страница 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 ...