RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.varInteger Constant

Represents a Variant that holds Integer data.

Pascal
varInteger = $0003;
C++
varInteger = 0x0003;

System

To define a Variant to be a varInteger type, you should use VarAsType to create one. By default, a Variant with an integer value greater than the Word type capacity, but less than the Int64 type capacity will normally be assigned a varLongWord type.  

Use VarType to determine the variant type. 

 

TVarType 

VarAsType 

VarType

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!