[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
PrologRetractall
This predicate retracts/removes/undoes all matching facts for a facts section predicate in the FACTS section that matches the given Fact. It always succeeds, even if there were no facts to retract.
It is not possible to obtain any output values from retractall. For this reason, the variables in the call must be bound or be underscores.
retractall is deterministic and will always succeed.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
PrologRetractall
(Prolog) retractall
From Visual Prolog's Help:This predicate retracts/removes/undoes all matching facts for a facts section predicate in the FACTS section that matches the given Fact. It always succeeds, even if there were no facts to retract.
It is not possible to obtain any output values from retractall. For this reason, the variables in the call must be bound or be underscores.
retractall is deterministic and will always succeed.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
