A SERVICE OF

logo

154 Chapter 3
append()
Appends the given text string to the text associated with the named object.
Syntax
<object name>.append(
<"text string">
);
Parameters
This function takes only a text string, which must be enclosed in quotation marks.
getText()
Returns the text associated with the named object.
Syntax
<object name>.getText();
Parameters
This function has no parameters.
getTextType()
Returns the text type associated with this object: “TextResponse.TypePlain”,
“TextResponse.TypeHtml”, or “TextResponse.TypeXml”.
For more information about text types, see “TextResponse()” on page 153.
Syntax
<object name>.getTextType();
Parameters
This function has no parameters.
getType()
Returns the type of the named object, which is always “TextResponse”.
Syntax
<object name>.getType();
Parameters
This function has no parameters.
setText()
Sets the text string associated with this object.
Syntax
<object name>.setText(
<"text string">
);