putprop
putprop(sl_idg_valueS_name) =>g_value
Description
Adds properties to symbols or disembodied property lists.
If the property already exists, the old value is replaced with a new one. The putprop function is a lambda function, which means all of its arguments are evaluated. However, putprop has no infix operator syntax.
Arguments
Value Returned
Examples
Sets the property x on symbol s to 3.
putprop('s 1+2 'x)
=> 3
Related Topics
Return to top