DataTypes
Although data types are visualized as strings in most places in Apis, it is sometimes necessary to know the code for a data type. The following table is a brief overview, mapping the types to their code value.
Description | Value |
---|---|
Character | 16 |
Unsigned character | 17 |
2 byte integer | 2 |
4 byte integer | 3 |
8 byte integer | 20 |
2 byte unsigned integer | 18 |
4 byte unsigned integer | 19 |
8 byte unsigned integer | 21 |
4 byte real | 4 |
8 byte real | 5 |
Boolean | 11 |
String | 8 |
Date | 7 |
Variant | 12 |
Decimal | 14 |
Error | 10 |
Currency | 6 |
Filetime | 64 |
Array | 8192 |
Vector | 4096 |
Null terminated string | 30 |
Wide null terminated string | 31 |