putpropqq
putpropqq(s_idg_valueS_name) =>g_values_id.S_name=g_value=>g_value
Description
Adds properties to symbols. Identical to putprop except that sl_id and S_name are not evaluated. If the property already exists, the old value is replaced with a new one.
putpropqq corresponds to . = as an assignment operator. So, obj.prop = value is equivalent to putpropqq(obj value prop).
Arguments
Value Returned
Examples
Both examples are equivalent expressions that set the property x on symbol s to 3.
putpropqq(s 1+2 x)
=> 3
s.x = 1+2
=> 3
Related Topics
Return to top