Changeset 4270 for trunk/manuals/refman/control/direct1.html
- Timestamp:
- 05/23/08 09:49:25 (6 months ago)
- Files:
-
- 1 modified
-
trunk/manuals/refman/control/direct1.html (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/manuals/refman/control/direct1.html
r3826 r4270 26 26 <pre>:Goal</pre> 27 27 <p> 28 Calls an i mported category predicate without using the message sending mechanisms. The category predicate is called with the same execution context (<em>sender</em>, <em>this</em>, and <em>self</em>) as the predicate whose body contains the call. The lookup for both the predicate declaration and the predicate definition begins in <em>this</em> instead of <em>self</em>. Furthermore, the lookup of the predicate definition is restricted to the imported categories. As a consequence, any redeclaration or redefinition of the predicate in a descendant of the object containing the call will be ignored.28 Calls an inherited or imported predicate with the lookup for both the predicate declaration and the predicate definition beginning in <em>this</em> instead of <em>self</em>. As a consequence, any redeclaration or redefinition of the predicate in a descendant of the object containing the call will be ignored. The predicate is called with the same execution context (<em>sender</em>, <em>this</em>, and <em>self</em>) as the predicate whose body contains the call. When the predicate is defined in an imported category compiled using static binding, this control construct allows the predicate to be called with the same performance as a local object predicate. 29 29 </p> 30 30 … … 40 40 <dt>Goal is neither a variable nor a callable term:</dt> 41 41 <dd><code>type_error(callable, Goal)</code></dd> 42 <dt>The object containing the call does not import any category:</dt>42 <dt>The entity containing the call does not import or inherit from any entity:</dt> 43 43 <dd><code>existence_error(procedure, Goal)</code></dd> 44 44 </dl> … … 59 59 <div class="copyright"> 60 60 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a href="http://logtalk.org">Logtalk.org</a></span><br/> 61 <span>Last updated on: August 27, 2007</span>61 <span>Last updated on: May 23, 2008</span> 62 62 </div> 63 63 <div class="navbottom">
