plist
plist(s_symbolName) =>l_propertyList/nil
Description
Returns the property list associated with a symbol.
From time to time, it is useful to print the entire property list attached to a given symbol and see what properties have been assigned to the symbol.
Arguments
Value Returned
Examples
Prints the property list attached to the symbol a. Returns nil, the result of println. Notice that a single quote is used in this example. You can think of this as passing in the name of the symbol rather than its value.
a.x = 10
a.y = 20
println(plist('a))
(y 20 x 10)
=> nil
Related Topics
Return to top