RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.varWord Constant

Represents a Variant that holds Word data.

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

System

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. 

 

TVarType 

VarAsType 

VarType

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