defprop
defprop(s_idg_values_name) =>g_value
Description
Adds properties to symbols but none of its arguments are evaluated. This is a syntax form.
The same as putprop except that none of its arguments are evaluated.
Arguments
Value Returned
Examples
Sets property x on symbol s to 3.
defprop(s 3 x)
=> 3
Sets property x on symbol s to the unevaluated expression 1+2.
defprop(s 1+2 x)
=> (1+2)
Related Topics
Return to top