Represents a Variant that holds Smallint data.
varSmallint = $0002;
varSmallint = 0x0002;
System
To define a Variant to be a varSmallint type, you should use VarAsType to create one. By default, a Variant with an integer value less than the Byte type capacity, but less than the LongWord type capacity will normally be assigned a varWord type.
Use VarType to determine the variant type.
TVarType
VarAsType
VarType