Changeset 4498 for trunk/manuals
- Timestamp:
- 10/11/08 12:09:02 (3 months ago)
- Location:
- trunk/manuals
- Files:
-
- 6 modified
-
refman/builtins/create_category4.html (modified) (2 diffs)
-
refman/builtins/create_object4.html (modified) (2 diffs)
-
refman/builtins/create_protocol3.html (modified) (2 diffs)
-
userman/categories.html (modified) (2 diffs)
-
userman/objects.html (modified) (2 diffs)
-
userman/protocols.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/manuals/refman/builtins/create_category4.html
r4497 r4498 28 28 Creates a new, dynamic category. This predicate is often used as a primitive to implement high-level category creation methods. 29 29 </p> 30 <p> 31 When using Logtalk multi-threaded features, predicates calling this built-in predicate may need to be declared synchronized in order to avoid race conditions. 32 </p> 30 33 31 34 <h4>Template and modes</h4> 32 35 33 <pre>create_category( +category_identifier, +list, +list, +list)</pre>36 <pre>create_category(?category_identifier, +list, +list, +list)</pre> 34 37 35 38 <h4>Errors</h4> 36 39 37 40 <dl> 38 <dt> One of the predicate arguments is a variable:</dt>41 <dt>Relations, Directives, or Clauses is a variable:</dt> 39 42 <dd><code>instantiation_error</code></dd> 40 43 <dt>Identifier is neither a variable nor a valid category identifier:</dt> … … 64 67 <div class="copyright"> 65 68 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a href="http://logtalk.org">Logtalk.org</a></span><br/> 66 <span>Last updated on: October 7, 2008</span>69 <span>Last updated on: October 11, 2008</span> 67 70 </div> 68 71 <div class="navbottom"> -
trunk/manuals/refman/builtins/create_object4.html
r4497 r4498 28 28 Creates a new, dynamic object. The word <a class="glossary" title="Go to glossary definition" href="../../glossary.html#object"><em>object</em></a> is used here as a generic term. This predicate can be used to create new prototypes, instances, and classes. This predicate is often used as a primitive to implement high-level object creation methods. 29 29 </p> 30 <p> 31 When using Logtalk multi-threaded features, predicates calling this built-in predicate may need to be declared synchronized in order to avoid race conditions. 32 </p> 30 33 31 34 <h4>Template and modes</h4> 32 35 33 <pre>create_object( +object_identifier, +list, +list, +list)</pre>36 <pre>create_object(?object_identifier, +list, +list, +list)</pre> 34 37 35 38 <h4>Errors</h4> 36 39 37 40 <dl> 38 <dt> One of the predicate arguments is a variable:</dt>41 <dt>Relations, Directives, or Clauses is a variable:</dt> 39 42 <dd><code>instantiation_error</code></dd> 40 <dt>Identifier is n ota valid object identifier:</dt>43 <dt>Identifier is neither a variable nor a valid object identifier:</dt> 41 44 <dd><code>type_error(object_identifier, Identifier)</code></dd> 42 45 <dt>Identifier is already in use:</dt> … … 69 72 <div class="copyright"> 70 73 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a href="http://logtalk.org">Logtalk.org</a></span><br/> 71 <span>Last updated on: October 7, 2008</span>74 <span>Last updated on: October 11, 2008</span> 72 75 </div> 73 76 <div class="navbottom"> -
trunk/manuals/refman/builtins/create_protocol3.html
r4497 r4498 28 28 Creates a new, dynamic protocol. This predicate is often used as a primitive to implement high-level protocol creation methods. 29 29 </p> 30 <p> 31 When using Logtalk multi-threaded features, predicates calling this built-in predicate may need to be declared synchronized in order to avoid race conditions. 32 </p> 30 33 31 34 <h4>Template and modes</h4> 32 35 33 <pre>create_protocol( +protocol_identifier, +list, +list)</pre>36 <pre>create_protocol(?protocol_identifier, +list, +list)</pre> 34 37 35 38 <h4>Errors</h4> 36 39 37 40 <dl> 38 <dt> One of the predicate arguments is a variable:</dt>41 <dt>Either Relations or Directives is a variable:</dt> 39 42 <dd><code>instantiation_error</code></dd> 40 <dt>Identifier is n ota valid protocol identifier:</dt>43 <dt>Identifier is neither a variable nor a valid protocol identifier:</dt> 41 44 <dd><code>type_error(protocol_identifier, Identifier)</code></dd> 42 45 <dt>Identifier is already in use:</dt> … … 61 64 <div class="copyright"> 62 65 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a href="http://logtalk.org">Logtalk.org</a></span><br/> 63 <span>Last updated on: October 7, 2008</span>66 <span>Last updated on: October 11, 2008</span> 64 67 </div> 65 68 <div class="navbottom"> -
trunk/manuals/userman/categories.html
r4272 r4498 117 117 <pre>| ?- create_category(Category, Relations, Directives, Clauses).</pre> 118 118 <p> 119 The first argument , the name of the new category - a Prolog atom - should not match with an existing entity name. The remaining three arguments correspond to the relations described in the opening category directive and to the category code contents (directives and clauses).119 The first argument should be either a variable or the name of the new category (a Prolog atom, which must not match with an existing entity name). The remaining three arguments correspond to the relations described in the opening category directive and to the category code contents (directives and clauses). 120 120 </p> 121 121 <p> … … 349 349 <div class="copyright"> 350 350 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a href="http://logtalk.org">Logtalk.org</a></span><br/> 351 <span>Last updated on: April 19, 2008</span>351 <span>Last updated on: October 11, 2008</span> 352 352 </div> 353 353 <div class="navbottom"> -
trunk/manuals/userman/objects.html
r4474 r4498 218 218 <pre>| ?- create_object(Object, Relations, Directives, Clauses).</pre> 219 219 <p> 220 The first argument , the name of the new object (a Prolog atom or compound term), should not match any existing entity name. The remaining three arguments correspond to the relations described in the opening object directive and to the object code contents (directives and clauses).220 The first argument should be either a variable or the name of the new object (a Prolog atom or compound term, which must not match any existing entity name). The remaining three arguments correspond to the relations described in the opening object directive and to the object code contents (directives and clauses). 221 221 </p> 222 222 <p> … … 443 443 <div class="copyright"> 444 444 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a href="http://logtalk.org">Logtalk.org</a></span><br/> 445 <span>Last updated on: September 26, 2008</span>445 <span>Last updated on: October 11, 2008</span> 446 446 </div> 447 447 <div class="navbottom"> -
trunk/manuals/userman/protocols.html
r3960 r4498 71 71 <pre>| ?- create_protocol(Protocol, Relations, Directives).</pre> 72 72 <p> 73 The first argument , the name of the new protocol (a Prolog atom), should not match an existing entity name. The remaining two arguments correspond to the relations described in the opening protocol directive and to the protocol directives.73 The first argument should be either a variable or the name of the new protocol (a Prolog atom, which must not match an existing entity name). The remaining two arguments correspond to the relations described in the opening protocol directive and to the protocol directives. 74 74 </p> 75 75 <p> … … 235 235 <div class="copyright"> 236 236 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a href="http://logtalk.org">Logtalk.org</a></span><br/> 237 <span>Last updated on: December 9, 2007</span>237 <span>Last updated on: October 11, 2008</span> 238 238 </div> 239 239 <div class="navbottom">
