INTEGER

The INTEGER data type is used for storing large whole numbers.

Syntax

INTEGER
  1. INT and INTEGER are synonyms.

Usage

The storage of INTEGER variables is based on 4 bytes of signed data ( = 32 bits ).

The value range is from -2,147,483,647 to +2,147,483,647.

When assigning a whole number that exceeds the INTEGER range, the overflow error -1215 will be raised.

INTEGER variables are initialized to zero in functions, modules and globals.

The INTEGER type can be used to define variables storing values from SERIAL columns.

MAIN
  DEFINE i INTEGER
  LET i = 1234567
  DISPLAY i 
END MAIN