Figurative constants are literals that are generated by the Compiler through the use of reserved words. These words are described below. The singular and plural forms of the words are equivalent and may be used interchangeably.
|ZERO, ZEROS, ZEROES
|Represents the numeric value "zero" or one or more occurrences of the character 0, depending on whether the constant is treated as a numeric or nonnumeric literal
|Represents one or more space characters
|Represents one or more characters with the highest ordinal position in the program collating sequence. Usually this is the hexadecimal value "FF"
|Represents one or more characters with the lowest ordinal position in the program collating sequence. Usually this is the binary value 0
|Represents one or more quotation mark characters. These words may not be used in place of quotation marks for delimiting nonnumeric literals
|Represents all or part of the string generated by successive concatenations of the characters comprising the literal. The literal must be nonnumeric
|Represents one or more of the characters defined as the value of this symbolic character in the SYMBOLIC CHARACTERS clause of the SPECIAL-NAMES paragraph
|Represents the numeric value "zero" or one or more occurrences of a character whose underlying representation is binary zero. This also represents an invalid memory address when it is used in conjunction with POINTER data types
The word "ALL" may be placed in front of any of the preceding forms (except the ALL literal. Its use is redundant in this case.)
When a figurative constant represents a string of one or more characters, the length of the string is determined by the Compiler from the context according to the following rules.
A figurative constant is valid anywhere a literal is. However, ZERO and NULL are the only valid figurative constants for a literal restricted to numeric literals.