Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

instance-setvar! set an internal variable in a plugin instance.

Parameter Description
store Data store name
instance Plugin instance name
name Variable name to be set
val Value, variable name is set to

Example

Example 1: Internal function from dse plugin, where two internal variables "FactList" and "RepeatFactList" are cleared upon case start.

(define (dse:caseinit store instance)
  (instance-setvar! store instance "FactList" '())
  (instance-setvar! store instance "RepeatFactList" '())
)
Clone this wiki locally