retractall/1
retractall(Head)Retracts all matching predicates from an object. Note however that if the clauses for the dynamic predicate are contained in a category the predicate will fail.
retractall(+callable)
- Head is a variable:
instantiation_error
- Head is neither a variable nor a callable term:
type_error(callable, Head)
- The predicate indicator of Head is that of a private predicate:
permission_error(modify, private_predicate, Head)
- The predicate indicator of Head is that of a protected predicate:
permission_error(modify, protected_predicate, Head)
- The predicate indicator of Head is that of a static predicate:
permission_error(modify, static_predicate, Head)
- The predicate indicator of Head is not declared:
existence_error(predicate_declaration, Head)
- To retract all matching predicate definitions in this:
retractall(Head)
- To retract all matching public or protected predicate definitions in self:
::retractall(Head)
- To retract all matching public predicate definitions in an object:
Object::retractall(Head)
Previous | Next | Table of Contents | Bibliography | Glossary
Last updated on: July 4, 2000