dynamic/1
declaration:-dynamic
+PredSpecs
Declares the predicates in PredSpecs to be dynamic.
type_error
context_error
If the declaration contradicts previous declaration or clauses for the same predicate in the file; or
cannot call dynamic/1
as a goal.
permission_error
dynamic/1
.
To declare a grammar rule gram/n dynamic, the arity of PredSpec must be n+2.