RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.varWord Constant

Represents a Variant that holds Word data.

Pascal
varWord = $0012;
C++
varWord = 0x0012;

When a Variant is assigned an integer value greater in value than a Byte type can hold, but less than an LongWord type can hold, it will be set to a varWord Variant type. varWord represents a Variant variable that currently holds a Word data value.  

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!