+1 888 340 6572

Text GetString: Difference between revisions

From MultiCharts
No edit summary
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>

Revision as of 08:59, 9 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.