getlength() returns the length of a single-dimensional array. This method accepts no parameters.
Syntax:
array_variable.getlength()
Usage example:
DEFINE ar ARRAY[15] OF CHAR(15)
...
LET ar[10]="element "||10
CALL array_variable.getlength() #returns 15