3 ms·
COBOL has over 300 too
by nn3 5y ago
COBOL has over 300 too
- eesmith 5y agoI count 417 reserved words at https://www.ibm.com/docs/en/iis/9.1?topic=words-cobol-reserved https://www.ibm.com/docs/en/iis/9.1?topic=words-cobol-reserv... . I see there's "ZERO", "ZEROES", and "ZEROS" - I didn't realize that both plurals are acceptable in English! - https://english.stackexchange.com/questions/3824/what-is-the-plural-form-of-zero https://english.stackexchange.com/questions/3824/what-is-the... . My favorite reserved word on that list is "KANJI". From https://www.ibm.com/docs/en/cobol-zos/4.2?topic=expressions-class-condition https://www.ibm.com/docs/en/cobol-zos/4.2?topic=expressions-... : > The class condition determines whether the content of a data item is alphabetic, alphabetic-lower, alphabetic-upper, numeric, DBCS, KANJI, or contains only the characters in the set of characters specified by the CLASS clause as defined in the SPECIAL-NAMES paragraph of the environment division.