Example Structure ref 006
|
Notes and Hints (setq Employee (new Structure: Name: "John Doe" Title: "Director")) When a single index is used, the value portion of the specified binding is
returned. However two indices offer the flexibility of referencing either the
key or value as seen in the examples above.
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Employee.Name or Employee[0]
Returns:John Doe Employee.Title or Employee[0]
Returns:Director
Here are examples of the ref function at work.
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) | refValues(#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.
Structure
Integer
Text
Symbol
Analytic Information Server (AIS)AIS Component Systems
|