Xerox 701P21091 manual Using the # character case toggle, Using a repeat count

Models: 701P21091

1 498
Download 498 pages 22.54 Kb
Page 36
Image 36

PDL principles and procedures

EBCDIC

Octal

Kanji

Using the # character (case toggle)

Within a text string, the # character may be used as a case toggle. In other words, when a text string is encountered, it is assumed that characters are inserted into the print line as they appear in the text string (usually in uppercase). If the system encounters a #, it interprets the characters as lowercase mode. All letters after the # are considered lowercase until another # is encountered, which toggles back to uppercase.

The sequence ## indicates that the actual # character should be inserted and should not be treated as a toggle for lowercase mode.

Using a repeat count

String constants may be preceded by an optional repeat count. A repeat count is enclosed in parentheses and must be in the range of 1 to 255. For example:

T1: TABLE CONSTANT=(3)'*';

is equivalent to:

T1: TABLE CONSTANT=('***');

Following are additional examples of the use of a repeat count:

T1:

TABLE

CONSTANT=(3)O'27';

T2:

TABLE

CONSTANT=(4)X'C1';

Types of string constants:

The following table gives explanations and examples of the different types of string constants.

1-8

Using LCDS Print Description Language

Page 36
Image 36
Xerox 701P21091 manual Using the # character case toggle, Using a repeat count, Types of string constants