DYNAMIC ARRAY as class

The DYNAMIC ARRAY (or static ARRAY) type provides a set of utility methods to manipulate the array elements.

DYNAMIC ARRAY methods can be invoked with the variable, for example:

DEFINE a DYNAMIC ARRAY OF STRING
CALL a.appendElement()
DISPLAY a.getLength()