Types

TTL have four kinds of data types:

1) Integer

Signed 32 bit, from -2147483648 to 2147483647.
Floating point operation is not supported.

2) Character string

A sequence containing any character except NUL. The maximum length of a string is 511.
Since character encoding of string literals and macro commands is UTF-8, character encoding of string variables is also naturally UTF-8.

3) Integer Array

The integer array can be used by using the intdim macro command. The maximum index is 65536.
The element of the array equals to the integer.

4) String Array

The string array can be used by using the strdim macro command. The maximum index is 65536.
The element of the array equals to the string.