"length"
The attribute "length" returns the length of a textEdit text.
Synopsis
getValue(string shape, "length", int &l);
Parameter
Parameter | Description |
---|---|
shape | Name of the object |
l | The length of a textEdit text |
Description
The attribute "length"; returns the length of a textEdit text.
Example
The code returns the length of a textEdit text.
main(bool enter)
{
string sn = "TEXT_EDIT1";
/*the length of a text edit text */
int leng;
getValue(sn,"length", leng);
DebugN("The length",leng)
}
Assignment
TextEdit