print-methods [Function]


Purpose

The print-methods function prints the definitions of all the methods which implement a given action.

Syntax

print-methods action

Arguments

The action argument is the action whose method definitions are to be printed.

Value

This function returns nil.

Examples

(print-methods (fb move)) -->  
    (DEFMETHOD MOVE (?OBJ ?LOC) 
        :RESPONSE ((MOVE-OBJECT ?OBJ ?LOC))) 
    (DEFMETHOD MOVE (?OBJ ?LOC) 
        :TITLE "move box" 
        :SITUATION (BOX ?OBJ) 
        :RESPONSE ((MOVE-BOX ?OBJ ?LOC)))

See Also

Last modified: Jun 1 1995