Prints all elements of a list.
List.bdh
ListPrint( theList: list) : boolean;
Parameter | Description |
---|---|
theList | List of number, boolean, float or string. |
transaction TAListPrint var lNumber: list of number init 1, 2, 3; lString: list of string init "one", "two", "three"; b: boolean; begin b := ListPrint(lNumber); Print(string(b)); b := ListPrint(lString); Print(string(b)); end TAListPrint;
element 1: 1 element 2: 2 element 3: 3 TRUE element 1: one element 2: two element 3: three TRUE