|
VMS Help COBOL, miscellaneous_topics, literals, nonnumeric_literals *Conan The Librarian |
A nonnumeric literal is a character-string of 0 to 256 characters. It
is delimited on both ends by quotation marks (") or apostrophes ('). A
nonnumeric literal delimited by apostrophes is treated in the same
manner as a nonnumeric literal delimited by quotation marks.
The value of a nonnumeric literal is the value of the characters in the
character-string. It does not include the quotation marks (or
apostrophes) that delimit the character-string. All other punctuation
characters in the nonnumeric literal are part of its value.
The compiler truncates nonnumeric literals to a maximum of 256
characters.
|
|