4DQuiz


OT InsertElement View from small screen devices!  

OT InsertElement

Parameter Type Description

inObject Longint inTag String inWhere Number inHowMany Number A handle to an object

Tag of the array item to change

Discussion

OT InsertElement inserts one or more elements into 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.

The new elements are inserted before the element specified by inWhere, and are initialized to an empty value for the array type. All elements beyond inWhere are moved up to make room for the new elements.

If inWhere is greater than the size of the array, the elements are added to the end of the array.

See Also

OT DeleteElement



Topics of Interest
OT ResizeArray
OT DeleteElement
Array Utility Routines
 

Published date: Fri, 14 Jul 2006 18:39:05 GMT   → View XML Version

Edit this page now

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