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

instance-refvar returns an internal variable from a plugin instance.

Parameter Description
store Data store name
instance Plugin instance name
name Variable name to be retrieved
fback Optional: Value to be returned when variable name is not set. Otherwise will return #f

Example

Example 1: Internal function from dse plugin, where a check is performed if a fact is part of the instance's "FactList" variable.

(define (dse:check-strong-fact store instance fact)
  (member fact (instance-refvar store instance "FactList")))
Clone this wiki locally