TMtxExpression.VarPrint Method

procedure VarPrint(a: TValueRec; const aName: string; const Dst: TStrings; const ValueCountLimit: Integer; const StringLengthLimit: Integer);

Prints the value "a" of variable with "aName" to Dst.

#NameTypeDescription
1aTValueRec
2aNamestring
3DstTStrings
4ValueCountLimitInteger
5StringLengthLimitInteger

Result: stored in self (calling object)

Remarks:

Adds lines to Dst to display the contents of variable in a on a command line like user interface. LenLimit defines the maximum number of values that will be printed, if the structure contains more than LenLimit items.