4DQuiz


The Character Item Type View from small screen devices!  

The Character Item Type

Any characters put in an object, whether they start life as a String or as Text, have the item type OT Is Character.

Character items can be retrieved either as a String or as Text via OT GetString, OT GetText, or OT GetVariable. For example:

OT PutString ($object;"chars";"this was originally a string")

C_TEXT($text)$text:=OT GetText ($object;"chars")

$text:="this was originally text"OT PutText ($object;"chars";$text)

C_STRING(8;$str8)$str8:=OT GetString ($object;"chars") `$str8 will now contain "this was"

Likewise, any String or Text arrays put into an object are stored with an item type of OT Character array (113). Elements of this item type can then be retrieved either as a fixed width String or as Text via OT GetArrayString and OT GetArrayText .



Topics of Interest
Item Types
OT GetText
Put Value Routines
Embedded Objects
Get Value Routines
OT GetArrayString
Object tools
OT GetString
OT PutArray
OT GetArray
Introduction
OT PutText
OT GetArrayText
OT PutString
 

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