OT PutString version 1
OT PutString(inObject; inTag; inValue)
Parameter Type Description
inObject Longint A handle to an object
→
inTag String Tag of the item to set
→
inValue String String to store
→
Discussion
OT PutString puts inValue into inObject.
If inObject is not a valid object handle, an error is generated and OK is set to zero.
If no item in the object has the given tag, a new item is created.
If an item with the given tag exists and has the type OT Is Character (112), its value is replaced.
If an item with the given tag exists and has any other type, an error is generated and OK is set to zero if the OT VariantItems option is not set, otherwise the existing item is deleted and a new item is created.
See “The Character Item Type” on page 11 for more information on storing and retrieving strings.
See Also

