next up previous

12.14.1 Getting the List of Deffunctions

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

Syntax

(get-deffunction-list)

Example

CLIPS> (clear)
CLIPS> (get-deffunction-list)
()
CLIPS> (deffunction foo ())
CLIPS> (deffunction bar ())
CLIPS> (get-deffunction-list)
(foo bar)
CLIPS>

12.14.2 Determining the Module in which a Deffunction is Defined

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

Syntax

(deffunction-module <deffunction-name>)


next up previous