chickadee » coops » slot-value

slot-value OBJECT SLOTNAMEprocedure

Returns the slot named SLOTNAME of the class instance OBJECT, signalling an error if no such slot exists.

(set! (slot-value OBJECT SLOTNAME) VAL)

can be used to assign a value to a slot.