ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  2 Syntax   2.3 Interpretation of Tokens   2.3.1 Numbers as Tokens   2.3.1.1 Potential Numbers as Tokens

2.3.1.1.2 Examples of Potential Numbers

As examples, the tokens in the next figure are potential numbers, but they are not actually numbers, and so are reserved tokens; a conforming implementation is permitted, but not required, to define their meaning.

Examples of reserved tokens
1b5000 777777q 1.7J -3/4+6.7J 12/25/83
27^19 3^4/5 6//7 3.1.2.6 ^-43^
3.141_592_653_589_793_238_4 -3.7+2.6i-6.17j+19.6k

The tokens in the next figure are not potential numbers; they are always treated as symbols:

Examples of symbols
/ /5 + 1+ 1-
foo+ ab.cd - ^ ^/-

The tokens in the next figure are potential numbers if the current input base is 16, but they are always treated as symbols if the current input base is 10.

Examples of symbols or potential numbers
bad-face 25-dec-83 a/b fad_cafe f^

Home Previous Up Next Table of Contents Index
© Franz Inc. All Rights Reserved - File last updated 2022-07-25