DYNAMIC ARRAY as class / DYNAMIC ARRAY methods |
Returns the length of the array.
getLength( ) RETURNING result INTEGER
This method returns the number of elements in the array.
DEFINE arr DYNAMIC ARRAY OF STRING, i INTEGER FOR i=1 TO arr.getLength() DISPLAY arr[i] END FOR