next up previous

12.16.4.2 Deleting an Instance

This function deletes the specified instances by sending them a delete message. The argument can be one or more instance-names, instance-addresses, or symbols (an instance-name without enclosing brackets). The instance specified by the arguments must exist (except in the case of "*"). If "*" is specified for the instance, all instances will be sent the delete message (unless there is an instance named "*"). This function returns the symbol TRUE if all instances were successfully deleted, otherwise it returns the symbol FALSE. Note, this function is exactly equivalent to sending the instance(s) the delete message directly and is provided only as an intuitive counterpart to the function retract for facts.

Syntax

(unmake-instance <instance-expression>+)


next up previous