TVarRec

Record describing an element in an array of const

Declaration

Source position: objpash.inc line 523

Type
TVarRec = record
case VType : SizeInt of
vtInteger: (
public
  VInteger : LongInt;
);
vtBoolean: (
public
  VBoolean : Boolean;
);
vtChar: (
public
  VChar : Char;
);
vtWideChar: (
public
  VWideChar : WideChar;
);
vtExtended: (
public
  VExtended : PExtended;
);
vtString: (
public
  VString : PShortString;
);
vtPointer: (
public
  VPointer : Pointer;
);
vtPChar: (
public
  VPChar : PAnsiChar;
);
vtObject: (
public
  VObject : TObject;
);
vtClass: (
public
  VClass : TClass;
);
vtPWideChar: (
public
  VPWideChar : PWideChar;
);
vtAnsiString: (
public
  VAnsiString : Pointer;
);
vtCurrency: (
public
  VCurrency : PCurrency;
);
vtVariant: (
public
  VVariant : PVariant;
);
vtInterface: (
public
  VInterface : Pointer;
);
vtWideString: (
public
  VWideString : Pointer;
);
vtInt64: (
public
  VInt64 : PInt64;
);
vtUnicodeString: (
public
  VUnicodeString : Pointer;
);
vtQWord: (
public
  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))