Xerox FreeFlow manual Iden PREFIX=DJDE, Constant=Abcde, Iden PREFIX=EABC!C4EFG, Record

Models: FreeFlow

1 506
Download 506 pages 3.91 Kb
Page 36
Image 36

PDL principles and procedures

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

Constant

Definition

Example

 

 

 

 

 

 

 

 

 

EBCDIC

EBCDIC constants are used for

IDEN

PREFIX='DJDE';

 

value and string constants. They

TABLE

CONSTANT='ABCDE';

 

must be preceded by the

 

 

 

 

characters E apostrophe (E’) and

IDEN PREFIX=E'ABC!C4EFG'

 

followed by an apostrophe

 

character (’). The EBCDIC string

is equivalent to the hexadecimal

 

IDEN PREFIX=X'C1C2C3C4C5C6C7’

 

type allows hexadecimal

 

representation of characters to be

 

 

 

embedded in a character string.

 

 

 

This is done by preceding the

 

 

 

hexadecimal representation of the

 

 

 

character with an ! character.

 

 

 

Each character represented in

 

 

 

EBCDIC results in one byte. Each

 

 

 

three character sequence

 

 

 

representing a character

 

 

 

hexadecimally results in one byte.

 

 

 

NOTE: If no character type is

 

 

 

specified, EBCDIC is the default.

 

 

 

 

 

 

Octal

Octal constants should be used

RECORD

CONSTANT=O'07070707'

 

only as string constants because

 

 

 

of the control program conversion

 

 

 

process. Each octal character

 

 

 

results in three bits.

 

 

 

Each octal character pair is

 

 

 

converted internally to an 8 bit

 

 

 

octal character by prefixing two

 

 

 

binary zeros. Thus, the arithmetic

 

 

 

value of a multiple character octal

 

 

 

constant may be difficult to

 

 

 

determine, because each digit in

 

 

 

the constant has been altered.

 

 

 

An octal constant must be

 

 

 

preceded immediately by the

 

 

 

characters letter O apostrophe (O’)

 

 

 

and immediately followed by the

 

 

 

apostrophe (’) character.

 

 

 

 

 

 

1-10

Using LCDS Print Description Language

Page 36
Image 36
Xerox FreeFlow manual Iden PREFIX=DJDE, Constant=Abcde, Iden PREFIX=EABC!C4EFG, Record, CONSTANT=O07070707