Integer constants specifying the type of data in a variant variable.
Name |
Value |
ATEasy equivalent |
vtEmpty |
0 |
Un-initialized variable |
vtNull |
1 |
SQL-style Null |
vtI2 |
2 |
Short |
vtI4 |
3 |
Long |
vtR4 |
4 |
Float |
vtR8 |
5 |
Double |
vtCy |
6 |
Currency |
vtDate |
7 |
DateTime |
vtBStr |
8 |
BString |
vtDispatch |
9 |
Object |
vtError |
10 |
Error Code |
vtBool |
11 |
Bool |
vtVariant |
12 |
Variant |
vtUnknown |
13 |
Object of known type, for example, ACheckBox |
vtDecimal |
14 |
Decimal |
vtI1 |
16 |
Char |
vtUI1 |
17 |
Byte |
vtUI2 |
18 |
Word |
vtUI4 |
19 |
DWord |
vtUI2 |
18 |
Word |
vtUI4 |
19 |
DWord |
vtI8 |
20 |
DLong (v5.0) |
vtUI8 |
21 |
DDWord (v5.0) |
vtArray |
0x2000 |
Array, ORed with the data type (i.e. vtR8 or vtArray) (v8) |
vtByRef |
0x4000 |
Var Parameter (pointer) ORed with the data type (i.e. vBStr or vtByRef) (v8) |
vtTypeMask |
0xFFF |
Make to get the data type from the variant type (v8) |