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.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | TValueRec | |
| 2 | aName | string | |
| 3 | Dst | TStrings | |
| 4 | ValueCountLimit | Integer | |
| 5 | StringLengthLimit | Integer |
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.