11.3.66 dynamic/1 [ISO,declaration]

Synopsis

:- dynamic +PredSpec

Declares the clauses of the predicates defined by PredSpecs to be dynamic.

Arguments

:PredSpec
pred_spec_forest, must be ground

A predicate specification, or a list of such, or a sequence of such separated by commas.

Comments

dynamic is not an ISO predefined prefix operator.

To declare a grammar rule gram/n dynamic, the arity of PredSpec must be n+2.

Exceptions

type_error
context_error
“declaration appeared in query”
permission_error
Cannot redefine built-in predicate.

See Also

Dynamic Declarations.


Send feedback on this subject.