Display or change the label view of the string object, including the last modified date and display name (if any).
Syntax
string_name.label
string_name.label(options) text
Options
To modify the label, you should specify one of the following options along with optional text. If there is no text provided, the specified field will be cleared:
c | Clears all text fields in the label. |
d | Sets the description field to text. |
s | Sets the source field to text. |
u | Sets the units field to text. |
r | Appends text to the remarks field as an additional line. |
p | Print the label view. |
Examples
The following lines replace the remarks field of the string S1 with “Name of Dependent Variable from EQ3”:
s1.label(r)
s1.label(r) Name of Dependent Variable EQ3
Cross-references
See
“Labeling Objects” for a discussion of labels.