4DQuiz


OT GetObject View from small screen devices!  

Parameter Type Description

inObject Longint inTag String Function result Longint A handle to an object

Tag of the item to retrieve A handle to a new object←

Discussion

OT GetObject gets an object value in object from the item referenced by inTag. If this routine successfully returns a new object, the new object handle is added to the ObjectTools handle list.

If the object is not a valid object handle, an error is generated, OK is set to zero, and a null object handle (0) is returned.

If no item in the object has the given tag, a null object handle is returned.

If an item with the given tag exists and has the type OT Is Object (114), its contents are returned as a new object.

If an item with the given tag exists and has any other type, an error is generated, OK is set to zero, and a null object handle is returned.

Warning This method creates and returns a new object in memory. You are responsible for clearing it when you no longer need it by calling OT IsObject .

See Also

OT PutObject, OT IsObject

OT GetPicture (inObject; inTag) Picture



Topics of Interest
Object Utility Routines
OT GetHandleList
Object Info Routines
OT GetNewBLOB
OT PutObject
OT IsObject
OT CompiledApplication
 

Published date: Sat, 15 Jul 2006 19:55:42 GMT   → View XML Version

Edit this page now

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