Language basics / Data types |
The BIGINT data type is used for storing very large whole numbers.
BIGINT
The storage of BIGINT variables is based on 8 bytes of signed data ( = 64 bits ).
The value range is from -9,223,372,036,854,775,807 to +9,223,372,036,854,775,807.
MAIN DEFINE i BIGINT LET i = 9223372036854775600 DISPLAY i END MAIN
When assigning a whole number that exceeds the BIGINT range, the overflow error -1284 will be raised.
BIGINT variables are initialized to zero in functions, modules and globals.
Data type conversion can be controlled by catching the runtime exceptions. For more details, see Handling type conversion errors.