Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

JCI_GetArrayLength

This function is equivalent to the JNI function GetArrayLength.


Call

CALL 'JCI_GetArrayLength' USING aObj num

aObj

Array object

num

Number of elements


Arguments

aObj

Data field of the type JCI-object
Array object whose number of elements is to be returned.

num

Data field of the type JCI-size
After the function has been successfully executed, the field contains the number of elements of the array object referenced by aObj.


Return value (RETURN-CODE)

JCI-RET-OK

The call was successful.

JCI-RET-ENOVM

No Java VM has been started.

JCI-RET-ENULLOBJ

aObj is JCI-NULL.

JCI-RET-EARGUMENT

aObj is not an array object.