getqq
getqq(s_idS_name) =>g_result/nilsl_id.S_name=>g_result/nil
Description
Returns the value of a property in a symbol’s property list. Same as get except that neither argument is evaluated. This is a syntax form.
getqq corresponds to . as an LHS infix operator. So, obj.prop is equivalent to getqq(obj prop).
Used in conjunction with putprop, where putprop stores the property and getqq retrieves it.
Arguments
Value Returned
Examples
putprop( 'chip 8 'pins )
=> 8
Assigns the property pins to a value of 8 to the symbol chip.
getqq( chip pins )
=> 8
chip.pins
=> 8
Related Topics
Return to top