Valmap
Valmap (value map). Assigns descriptive labels to values in numeric or alpha series.
Valmap Declaration
To declare a valmap use the keyword valmap, followed by a name
valmap mymap
Valmap Views
label label information for the valmap object.
sheet view table of map definitions.
stats summary of map definitions.
usage list of series and alphas which use the map.
Valmap Procs
append append a definition to a valmap.
clearhist clear the contents of the history attribute.
copy creates a copy of the valmap.
olepush push updates to OLE linked objects in open applications.
setattr set the value of an object attribute.
Valmap Data Members
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 Valmap object’s description (if available).
@detailedtype string with the object type: “VALMAP”.
@displayname string containing the Valmap object’s display name. If the matrix has no display name set, the name is returned.
@name string containing the Valmap object’s name.
@remarks string containing the Valmap object’s remarks (if available).
@type string with the object type: “VALMAP”.
@updatetime string representation of the time and date at which the Valmap was last updated.
Valmap Examples
valmap b
b.append 0 no
b.append 1 yes
declares a valmap B, and adds two map definitions, mapping 0 to “no” and 1 to “yes”.
valmap txtmap
txtmap.append "NM" "New Mexico"
txtmap.append CA California
txtmap.append "RI" "Rhode Island"
declares the valmap TXTMAP and adds three definitions. The valmap values and labels may be enclosed in quotation marks, if necessary.