JAL manual - language - constants

previous up next

A constant declaration introduces a name which has a constant value throughout its scope. When the type is omitted the constant has the type universal. A single constant declaration can introduce a number of constants of the same type.

example:

   const byte cr = 0x0D, lf = 0x0A        -- byte constants
   const seconds_per_day = 60 * 60 * 24   -- universal integer constant

previous up next