Object Reference : Object View and Procedure Reference : Userobj
  
 
label
Display or change the label view of a user object, including the last modified date and display name (if any).
As a procedure, label changes the fields in the user object label.
Syntax
userobject_name.label
userobject_name.label(options) [text]
Options
The first version of the command displays the label view of the user object. The second version may be used to modify the label. 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 user object UO1 with “Data from CPS 1988 March File”:
UO1.label(r)
UO1.label(r) Data from CPS 1988 March File
To append additional remarks to UO1, and then to print the label view:
uo1.label(r) Log of hourly wage
uo1.label(p)
To clear and then set the units field, use:
uo1.label(u) Millions of bushels
Cross-references
See “Labeling Objects” for a discussion of labels.