dynamic/1


Description

dynamic(Predicate)
dynamic(Predicate1, Predicate2, ...)
dynamic([Predicate1, Predicate2, ...])

Declares dynamic predicates. Note that an object can be static and have both static and dynamic predicates.

Template and modes

dynamic(+predicate_indicator_term)

Examples

:- dynamic(counter/1).

:- dynamic(lives/2, works/2).

:- dynamic([db/4, key/2, file/3]).

Previous | Next | Table of Contents | Bibliography | Glossary

Last updated on: October 21, 2001