<h2><code><aclass="back"title="Return to index"href="../index.html#asserta1">asserta/1</a></code></h2>
<hr/>
<h4>Description</h4>
<blockquote>
<pre>
asserta(Clause)
asserta((Head:-Body))
</pre>
<p>
Asserts a clause as the first one for an object's dynamic predicate. If the predicate is not already declared, then a dynamic predicate declaration is added to the object.
<dt>To assert a clause as the first one for any dynamic predicate in <aclass="glossary"title="Go to glossary definition"href="../../glossary.html#this">this</a>:</dt>
<dd><code>asserta(Clause)</code></dd>
<dt>To assert a clause as the first one for any public or protected dynamic predicate in <aclass="glossary"title="Go to glossary definition"href="../../glossary.html#self">self</a>:</dt>
<dd><code>::asserta(Clause)</code></dd>
<dt>To assert a clause as the first one for any public dynamic predicate in an object:</dt>