OT GetArray
Parameter Type Description
inObject Longint inTag String outArray Array A handle to an object
→ Tag of the item to set → Array to receive the item’s contents ←
Discussion
OT GetArray gets an array value in inObject from the item referenced by inTag.
If the object is not a valid object handle, an error is generated, OK is set to zero, and outArray is cleared.
If no item in the object has the given tag, outArray is cleared. If the FailOnNoItem option is set, an error is generated and OK is set to zero.
If an item with the given tag exists and has a compatible type, the array’s contents are replaced.
If an item with the given tag exists and has any other type, an error is generated, OK is set to zero, and array is cleared.
Array Type Compatibility
Except for String and Text arrays, you must put and get arrays into the same type of array variable. String and Text arrays, however, may be mixed and matched, because ObjectTools stores both types of array with an item type of OT Character array (113).
Note If you retrieve into a fixed width String Array, the elements will be tnuncated to the width of the array.

