"text"
    
    Button labelling or the text of a textEdit.
Synopsis
setValue(string shape, "text", string s);
getValue(string shape, "text", string &s);
shape.text(string s);
Parameters
| Parameter | Description | 
|---|---|
| shape | Name of the object | 
| s | Button labelling or the text of a textEdit. | 
Description
The button labelling or the text of a textEdit can be set or read with this attribute.
To add an "&" character to the text, the notation "&&" must be used. A single "&" will add an underline to the following character.
 Example
When the button "button123" is pressed, the text changes to "Pressed".
main()
{
  shape but = getShape("button123");
  if (but.armed()== TRUE)
  but.text="Pressed";
}
        Assignment
Button