getsize() (and its alias getlength()) returns the size or the length of a single-dimensional array. These methods does not require any arguments.
Syntax:
array_variable.getsize()
array_variable.getlength()
Usage example:
DEFINE ar DYNAMIC ARRAY OF CHAR(15) ... LET ar[3000]="element "||3000 CALL ar.getsize() #returns 3000