Coral 66 Language Reference Manual: For mission-critical applications | ||
---|---|---|
Prev | Chapter 4. Reference to Data | Next |
The simplest objects of data are single numbers of floating, fixed-point or integer types. Identifiers may refer to such objects if suitably declared, e.g.
INTEGER i, j, k; FIXED(13,5) x, y;
and the declarations may optionally include assignment of initial values. This is known as presetting and is described in . The syntax for a number declaration is
Numberdec
::=
Numbertype
Idlist
Presetlist
Idlist
::=
Id
Id
, Idlist