Integer literals

Integer literals define a whole number in an expression.

Syntax

[+|-] digit[...]
  1. digit is a digit character from '0' to '9'.

Usage

Integer literals are in base-10 notation, without blank spaces and commas and without a decimal point.

Integer literals can be used to specify values for DECIMAL(P,0), BIGINT, INTEGER, SMALLINT and TINYINT data types.

Example

MAIN
  DEFINE n INTEGER
  LET n = 1234567
END MAIN