previous contents index next
(Constants..) Contents Index (..Constants..)

2.4.2 Integer Constants (IntConstant)

IntConstant: - Syntax:

Syntax: IntConstant

Integers in SCARLET are within a range from -2.147.483.648 up to +2.147.483.647. (This corresponds to an internal representation as a 32-bit word, where the first bit is occupied by the sign.) As usual, integer constants are written in decimal format with an optional + or - (Sign), which have the meaning of a positive or negative sign. An integer without sign is positive. Integers are of data type INT.

Remark:
Numbers are chiefly used to indicate absolute or relative cell positions within the retina as well as to name states. That is the reason why there is no need for rational numbers in SCARLET.


previous contents index next
(Constants..) Contents Index (..Constants..)