Previous Contents Next

3.6   Constants

constant ::= integer-literal
  | string-literal
  | true
  | false

The syntactic class of constants comprises literals from the three base types (integers, character strings and booleans).

No special syntax is providesd for external constants (such as floating point numbers). Such constants are introduced by explicitely converting constants of the basic types.
Previous Contents Next