Difference between revisions of "Text GetString"
Jump to navigation
Jump to search
m (Reverted edits by 176.8.90.7 (talk) to last revision by JoshM) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
== Notes == | == Notes == | ||
− | An object-specific ID number is returned by [[Text_New]] when the text object is created. | + | * An object-specific ID number is returned by [[Text_New]] when the text object is created. |
− | + | * Use [[Text_SetString]] to set the string expression of a text object. | |
+ | |||
== Example == | == Example == | ||
<syntaxhighlight>Text_GetString(3);</syntaxhighlight> | <syntaxhighlight>Text_GetString(3);</syntaxhighlight> |
Latest revision as of 13:10, 13 February 2012
Returns a string expression corresponding to the text contained in a text object with the specified ID number.
Usage
Text_GetString(ObjectID)
Where:
- ObjectID - a numerical expression specifying the object ID number.
Notes
- An object-specific ID number is returned by Text_New when the text object is created.
- Use Text_SetString to set the string expression of a text object.
Example
Text_GetString(3);
Will return a string expression corresponding to the text contained in the text object with an ID number of 3.