dynamic/1
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.
dynamic(+predicate_indicator_term)
:- dynamic(counter/1). :- dynamic(lives/2, works/2). :- dynamic([db/4, key/2, file/3]).