8.18/6/2018

Put (procedure)

Assigns a value to an element of an array.

Syntax

put( &array, index, value )

Arguments

&array

Array variable containing the element whose value you want to change.

index

Integer value representing the position of the element in the array.

value

The value you want to assign to the element. The value must be of the same the type as the array. Thus if the array is of type string, the value must be of type string.