4DQuiz


OT GetText View from small screen devices!  

OT GetText version 1

OT GetText(inObject; inTag) Text

Parameter Type Description

inObject Longint A handle to an object

inTag String Tag of the item to retrieve

Function result Text The retrieved item

Discussion

OT GetText gets a 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 an empty string is returned.

If no item in the object has the given tag, an empty string is returned. 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 the type OT Is Character (112), the value of the requested element is returned.

If an item with the given tag exists and has any other type, OK is set to zero, and an empty string is returned.

See “The Character Item Type” on page 11 for more information on storing and retrieving strings.

See Also

OT PutText , OT PutString , OT GetString, OT GetArrayText



Topics of Interest
OT GetString
QF_REMatchText
QF_RESplitText
QF_REExtractText
QF_RESubstituteText
OT PutText
OT PutString
The Character Item Type
Item Types
 

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