Go to the first, previous, next, last section, table of contents.


putprop

Function: putprop { symbol val key -> }
file: 10-C-lists.muf
package: muf
status: alpha

This function sets the value of key on symbol's property list to val. Any previous value is overwritten.

Stack:
'sym "val" "key" putprop
Stack:
'sym "key" getprop
Stack: "val"
pop   'sym "VAL" "key" putprop
Stack: 
'sym "key" getprop
Stack: "VAL"
pop 'sym symbolPlist length
Stack: 2

(CommonLisp has actually phased out this function name, but the CommonLisp replacement won't work in MUF.)

See section getprop. See section remprop. See section symbolPlist. See section setSymbolPlist.


Go to the first, previous, next, last section, table of contents.