Variables and Constants Keywords

Action Keywords GB VB6
Assign value. Let, = v v
Clear variable Clr, Clear, Erase v  
Declare variables or constants. Dim, Global, Local, Static, Const, Enum v v
Declare GUID constant GUID v  
Read data Data, _Data, Read, Restore v  
Get information about a variant. IsArray, IsDate, IsEmpty, IsError, IsMissing, IsNull, IsNumeric, IsObject, TypeName, VarType v v
Get information about an OLE object TypeOf v  
Require explicit variable declarations. Option Explicit Always v
Set default data type. Deftype v v
Address of descriptor ArrPtr, * v  
Address of variable VarPtr, V:, * v  
Pointer Type Pointer v  
Procedure, Label address ProcAddr, LabelAddr v  
User-defined type Type,

Union

v

v

v
Size and offset of Type (elements) SizeOf, BitSizeOf, BitOffsetOf, OffsetOf v  
Variant-specific Keywords VarLoad, VarPrint, VarSave. v  

See Also

Bits, Byte, Word, Int, and Large Operators and Keywords

Control Flow Keywords

Conversion Keywords

Data Types Keywords

Miscellaneous Keywords

Operators Keywords

String Manipulation Keywords

Variables and Constants Keywords

{Created by Sjouke Hamstra; Last updated: 23/08/2020 by James Gaite}