Example Vector refValues 004
|
Notes and Hints If the names of the attributes are known, then the dot (.) operator
can be used to retrieve the values associated with an attribute.
(See also setAttribute) (setq attb (new Vector: object: 3 Product: Amount: Date:) )
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns: Creates the attribute Vector.
(setq X #("Camaro" $22590 #Feb,1,1996) )
Creates the value Vector.
(setAttributes X attb)
Assigns attributes from attb to X.
X.Product
Returns: Camaro
X.Amount
Returns: $22590
X.Date
Returns: $#Feb,1,1996
Here are examples of the refValues function at work.
Dictionary refValues 002 | Directory refValues 003 | Structure refValues 001 | Vector refValues 004 |
Here is the link to the current function used in this example.
Here are a number of links to other related functions.
setq(#void) | ref(#void) | fieldsOf(#void) | setAttributes(#void) |
refAttributes(#void) |
Here are the links to the data types of the arguments used in this example. Here are a number of links to examples having similar argument types.
Vector
ObjVector
Integer
Text
Analytic Information Server (AIS)AIS Component Systems
|