TVarRec¶
Record describing an element in an array of const.
Declaration¶
Source position: objpash.inc line 723
type
TVarRec = record
case VType : SizeInt of
vtInteger: (
VInteger : LongInt;
);
vtBoolean: (
VBoolean : Boolean;
);
vtChar: (
VChar : AnsiChar;
);
vtWideChar: (
VWideChar : WideChar;
);
vtExtended: (
VExtended : PExtended;
);
vtString: (
VString : PShortString;
);
vtPointer: (
VPointer : Pointer;
);
vtPChar: (
VPChar : PAnsiChar;
);
vtObject: (
VObject : TObject;
);
vtClass: (
VClass : TClass;
);
vtPWideChar: (
VPWideChar : PWideChar;
);
vtAnsiString: (
VAnsiString : Pointer;
);
vtCurrency: (
VCurrency : PCurrency;
);
vtVariant: (
VVariant : PVariant;
);
vtInterface: (
VInterface : Pointer;
);
vtWideString: (
VWideString : Pointer;
);
vtInt64: (
VInt64 : PInt64;
);
vtUnicodeString: (
VUnicodeString : Pointer;
);
vtQWord: (
VQWord : PQWord;
);
end;
Description¶
TVarRec is a record generated by the compiler for each element in a array of const call. The procedure that receives the constant array receives an array of TVarRec elements, with lower bound zero and high bound equal to the number of elements in the array minus one (as returned by High(Args))