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

5.7.5 SET-ARRAY-ELEMENT method (object method)

Explanation

This method sets an element of an array object.

Syntax

INVOKE anObject "SET-ARRAY-ELEMENT" USING inx elemValue

Parameter and return value

anObject

Specifies the array object in which an element is to be set.

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

Specifies the subscript of the element to be set. The subscript begins from 0.

elemValue (attribute: Array element type)

Specifies the value to be set in the array element.