OT ResizeArray version 2
OT ResizeArray(inObject; inTag; inSize)
Parameter Type Description
inObject Longint A handle to an object
→
inTag String Tag of the array item to change
→
inSize Number New array size
→
Discussion
OT ResizeArray resizes an array in inObject.
If inObject is not a valid object handle, if no item in the object has the given tag, or if the item’s type is not an array type, an error is generated and OK is set to zero.
If inSize is greater than the current size of the array, empty elements are added to the end of the array. If inSize is less than the current size of the array, elements from inSize + 1 to the end of the array are deleted.
See Also

