11.3.64 (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.

Exceptions

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

Comments

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

See Also

Dynamic Declarations.


Send feedback on this subject.