figurative constantsthe figurative constants have


Figurative Constants:

The Figurative constants have several fixed names and the compiler recognizes these names and it sets up the equivalent values in the object program.

Consider the statement as shown below:

MOVE ZERO TO COUNTER

Here value 0 will be moved to the COUNTER by the compiler, as it recognizes ZERO and sets the COUNTER with 0. The list of figurative constants is shown below:

Figurative            Constant Meaning

ZERO

ZEROS                     value 0

ZEROES

SPACE

SPACES                   One or additional blanks

HIGH-VALUE

HIGH-VALUES      The Highest value in the Collating sequence

LOW-VALUE

LOW-VALUES       Lowest value in the Collating sequence

QUOTE

QUOTES                one or more of "

ALL literal              one or more of string characters comprising the literal

 

Request for Solution File

Ask an Expert for Answer!!
COBOL Programming: figurative constantsthe figurative constants have
Reference No:- TGS0174218

Expected delivery within 24 Hours