Xerox 701P21091 manual Constant Definition, H2 and H6, Repeat count examples

Models: 701P21091

1 498
Download 498 pages 22.54 Kb
Page 39
Image 39

PDL principles and procedures

Table 1-2. Types of string constants (Continued)

Constant

Definition

Example

H2 and H6

H2 and H6 constants generate

BLOCK

CONSTANT = H2’373737’;

 

H2000 BCD and H6000 BCD

BLOCK

CONSTANT = H6’373737’;

 

codes, respectively. Use of H2 and

 

 

 

 

H6 is identical to use of E and A

Repeat count examples:

 

prefixes described in the previous

 

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

 

sections of this table.

 

is equivalent to:

 

Since H2000 and H6000 BCD are

 

T1: TABLE CONSTANT = (‘###’);

 

defined as 6-bit codes, no

 

 

 

 

specification greater than X’3F’

T1: TABLE CONSTANT=(3)O’27’;

 

generates a legal character. If

 

anything from X’40’ to X’FF’ is

T2: TABLE CONSTANT=(4)X’C1’;

 

coded, an error message appears

 

 

 

and the bad character is replaced

 

 

 

with a blank.

 

 

 

String constants may be replaced

 

 

 

by an optional repeat count. A

 

 

 

repeat count must be enclosed in

 

 

 

parentheses and must be in the

 

 

 

range of 1 to 255.

 

 

Using LCDS Print Description Language

1-11

Page 39
Image 39
Xerox 701P21091 manual Constant Definition, H2 and H6, Repeat count examples