"text"
    
    Returns the content (text) of a text field.
Synopsis
setValue(string shape, "text", anytype text);
getValue(string shape,"text", <anytype> &text);
shape.text(<anytype> text);
Parameters
| Parameter | Description | 
|---|---|
| shape | Name of the object | 
| text | Content. The content may be int, float or string | 
Description
Reads or writes the content of an input or output field. Depending on the text field settings, "text" can be an integer, a float or a string. If the content is read into a variable for which it is not valid (for example, string read into int variable), 0 is returned.
                
                Example
            
The following example writes to and reads from the text field "TEXT_FIELD1".
main()
{
  float s = 3.4;
  float rf;
  /*Also string and int values can be set: string h = "String value"; int j = 5;*/
  this.text(s);
  string sh ="TEXT_FIELD1";
  getValue (sh,"text",rf);
  //Query the value
  DebugN(rf);
}
        Assignment
Text field
