dynamic/0 — The Logtalk Handbook v3.47.0 documentation

# `dynamic/0`

## Description

    dynamic

Declares an entity and its contents as dynamic. Dynamic entities can be abolished at runtime.

Warning

Some backend Prolog compilers declare `dynamic` as an operator for a lighter syntax, forcing writing this atom between parenthesis when using this directive.

## Template and modes

    dynamic

## Examples

    :- dynamic.

See also

dynamic/1, object_property/2, protocol_property/2, category_property/2