Text
Text object.
Object for holding arbitrary text information.
Text Declaration
text declare text object.
To declare a text object, use the keyword text, followed by the object name:
text mytext
Text Views
display display table, graph, or spool in object window.
label label information for the text object.
text view contents of text object.
Text Procs
append appends text to the end of a text object.
clear clear a text object.
clearhist clear the contents of the history attribute.
copy creates a copy of the text.
displayname changes the display name for the text object.
olepush push updates to OLE linked objects in open applications.
save save text object to disk as an ASCII text, RTF, HTML, PDF, TEX, or Markdown file.
setattr set the value of an object attribute.
svector make svector out of the contents of the text object.
Text Data Members
Scalar Values
@linecount scalar containing the number of lines in a Text object.
String values
@attr("arg") string containing the value of the arg attribute, where the argument is specified as a quoted string.
@description string containing the Text object’s description (if available).
@detailedtype string with the object type: “TEXT”.
@displayname string containing the Text object’s display name. If the object has no display name set, the name is returned.
@line(i) returns a string containing the Text on i-th line of the Text object.
@name string containing the Text object’s name.
@remarks string containing the Text object’s remarks (if available).
@svector returns an Svector where each element is a line of the Text object.
@svectornb same as @svector, with blank lines removed.
@type string with the object type: “TEXT”.
@updatetime string representation of the time and date at which the Text object was last updated.
Text Examples
text mytext
[add text to the object]
mytext.text