4DQuiz


OT ResizeArray View from small screen devices!  

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

OT DeleteElement , OT InsertElement, OT SizeOfArray



Topics of Interest
Array Utility Routines
 

Published date: Sun, 16 Jul 2006 22:43:01 GMT   → View XML Version

Edit this page now

© 2005 - 2006 4dquiz.com, All trademarks accepted. All Rights Reserved!
Site Index