RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.varInteger Constant

Represents a Variant that holds Integer data.

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

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!