Parameter Type Description
inObject Longint inTag String inIndex Number inValue Number A handle to an object
→ Tag of the item to set
- Index of array element to set
- Value to set →
Discussion
OT PutArrayLong sets an element of an array in inObject.
If the object is not a valid object handle, an error is generated, OK is set to zero, and zero is returned.
If no item in the object has the given tag, an error is generated and OK is set to zero.
If an item with the given tag exists and has the type Longint array, and inIndex is in the range (0..OT SizeOfArray(inObject; inTag)), the value of the requested element is set to inValue.
If an item with the given tag exists and has any other type, or if the index is out of range, an error is generated and OK is set to zero.
See Also

