1. Constant

1. Constant

Use decimal numbers starting with K as constants. For example, K100 is 100.

Hexadecimal numbers starting with H are used as constants. For example, HA8 is 168.

The following are numerical ranges for different data types.

Type Description Numerical Range
WORD Single word signed integer [-32768, 32767]
UWORD Single word unsigned integer [0, 65535]
DWORD Double signed integers [-2147483648, 2147483647]
UDWORLD Two word unsigned integer [0, 4294967296]
FLOAT Single precision floating-point number [-3.4e38, 3.4e38]