The X/script programming language handle many different data types, from basic numeric values, strings, predefined and user data objects.
In this table are listed all predefined data types:
Keyword |
Type |
Notes |
---|---|---|
char, byte |
8bit-signed |
|
uchar |
8bit-unsigned |
|
int16, short |
16bit-signed |
|
uint16, ushort |
16bit-unsigned |
|
int |
32bit-signed |
|
uint, long |
32bit-unsigned |
|
int64 |
64bit-signed |
|
uint64 |
64bit-unsigned |
|
bool |
8bit-signed |
Usually used as boolean value |
real |
64bit-floating point |
Standard IEEE (8 byte) |
float |
32bit-floating point |
Standard IEEE (4 byte) |
string |
ASCII string |
String are termined with 0 char, like C programming language |
timeout |
(real) |
Special type for timeout representation |
handle |
(uint) |
Special type for handle representation |
color |
(uint) |
Special type for color representation |