next up previous

12.10.1 Getting the List of Deffacts

The function get-deffacts-list returns a multifield value containing the names of all deffacts constructs that are currently defined.

Syntax

(get-deffacts-list)

Example

CLIPS> (clear)
CLIPS> (get-deffacts-list)
(initial-fact)
CLIPS> (deffacts foo)
CLIPS> (get-deffacts-list)
(initial-fact foo)
CLIPS>

12.10.2 Determining the Module in which a Deffacts is Defined

This function returns the module in which the specified deffacts name is defined.

Syntax

(deffacts-module <deffacts-name>)


next up previous