Top
NetCOBOL V11.0 J Adapter Class GeneratorUser's Guide
FUJITSU Software

5.7.3 GET-ARRAY-LENGTH method (object method)

Explanation

This method returns the number of elements of an array object.

Syntax

INVOKE anObject "GET-ARRAY-LENGTH" RETURNING elmNum

Parameter and return value

anObject

Specifies the array object from which the number of elements is obtained.

elmNum (attribute: PIC S9(9) COMP-5)

Returns the number of elements of an array.