Changeset 4276

Show
Ignore:
Timestamp:
05/24/08 11:46:34 (6 months ago)
Author:
pmoura
Message:

Minor documentation improvements.

Location:
trunk
Files:
12 modified

Legend:

Unmodified
Added
Removed
  • trunk/examples/encodings/NOTES.txt

    r4233 r4276  
    1212directive, which is fully based on the directive with the same name found  
    1313on recent development releases of SWI-Prolog and YAP. Currently, this  
    14 example requires Logtalk to be run with the SWI-Prolog, YAP, or SICStus  
     14example requires Logtalk to be run with the SWI-Prolog, YAP, SICStus  
    1515Prolog, or CxProlog compilers. 
    1616 
    17 The following encodings are used in each source file: 
     17The following encodings are used in the source file: 
    1818 
    1919    asian.lgt     - UTF-16 (with a BOM) 
  • trunk/examples/NOTES.txt

    r4233 r4276  
    9696encodings 
    9797    very simple example of using the new, experimental encoding/1  
    98     directive (requires Logtalk to be run with the SWI-Prolog compiler) 
     98    directive (requires Logtalk to be run with either YAP, SWI-Prolog, 
     99    CxProlog, or SICStus Prolog) 
    99100 
    100101engines 
     
    185186 
    186187roots 
    187     objects, protocols, and categories needed by most of the other  
     188    objects, protocols, and categories used by some of the other  
    188189    examples; illustrates how you can define object creation and  
    189190    abolishing methods, complete with initialization and termination  
  • trunk/manuals/refman/control/context2.html

    r3806 r4276  
    2626<pre>Object &lt;&lt; Goal</pre> 
    2727<p> 
    28 Calls a goal within the context of the specified object. Goal is called with the execution context (<em>sender</em>, <em>this</em>, and <em>self</em>) set to Object. Goal may need to be written within brackets to avoid parsing errors due to operator clashes. This control construct is mainly used for debugging and for writing object unit tests. 
     28Calls a goal within the context of the specified object. Goal is called with the execution context (<em>sender</em>, <em>this</em>, and <em>self</em>) set to Object. Goal may need to be written within brackets to avoid parsing errors due to operator clashes. This control construct is mainly used for debugging and for writing object unit tests. This control construct can only be used when the read-only compiler option <code>context_switching_calls</code> is set to <code>allow</code>. Set this compiler option to <code>forbid</code> to disable this control construct. 
    2929</p> 
    3030 
     
    5656    <div class="copyright"> 
    5757        <span>Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://logtalk.org">Logtalk.org</a></span><br/>  
    58         <span>Last updated on: June 8, 2007</span> 
     58        <span>Last updated on: May 23, 2008</span> 
    5959    </div> 
    6060    <div class="navbottom"> 
  • trunk/manuals/refman/control/to_object2.html

    r3560 r4276  
    2525 
    2626<pre>Object::Predicate 
    27  
     27     
    2828(Object1, Object2, ...)::Predicate 
    29  
    3029(Object1; Object2; ...)::Predicate 
    3130 
    3231Object::(Predicate1, Predicate2, ...) 
    33  
    3432Object::(Predicate1; Predicate2; ...)</pre> 
    3533<p> 
    36 Sends a message to an object. The message argument must match a public predicate of the receiver object. We can also send the same message to a set of objects or a set of messages to the same object. The "<code>,</code>" and "<code>;</code>" in the list have the usual Prolog meaning. 
     34Sends a message to an object. The message argument must match a public predicate of the receiver object. We can also send the same message to either a conjunction or a disjunction of objects or send either a conjunction or disjunction of messages to the same object. 
    3735</p> 
    3836 
     
    6866    <div class="copyright"> 
    6967        <span>Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://logtalk.org">Logtalk.org</a></span><br/>  
    70         <span>Last updated on: October 26, 2006</span> 
     68        <span>Last updated on: May 23, 2008</span> 
    7169    </div> 
    7270    <div class="navbottom"> 
  • trunk/manuals/refman/control/to_self1.html

    r3560 r4276  
    2727 
    2828::(Predicate1, Predicate2, ...) 
    29  
    3029::(Predicate1; Predicate2; ...)</pre> 
    3130<p> 
    32     Send a message to <a class="glossary" title="Go to glossary definition" href="../../glossary.html#self">self</a>. Only used in the body of a predicate definition. The argument should match a public or protected predicate of <a class="glossary" title="Go to glossary definition" href="../../glossary.html#self">self</a>. It may also match a private predicate if the predicate is within the scope of the object where the method making the call is defined, if imported from a category, if used from inside a category, or when using private inheritance. We can also send a set of messages to self. The "<code>,</code>" and "<code>;</code>" in the list have the usual Prolog meaning. 
     31    Send a message to <a class="glossary" title="Go to glossary definition" href="../../glossary.html#self"><em>self</em></a>. Only used in the body of a predicate definition. The argument should match a public or protected predicate of <a class="glossary" title="Go to glossary definition" href="../../glossary.html#self"><em>self</em></a>. It may also match a private predicate if the predicate is within the scope of the object where the method making the call is defined, if imported from a category, if used from inside a category, or when using private inheritance. We can also send a either a conjunction or a disjunction of messages to <em>self</em>. 
    3332</p> 
    3433 
     
    5857    <div class="copyright"> 
    5958        <span>Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://logtalk.org">Logtalk.org</a></span><br/>  
    60         <span>Last updated on: October 26, 2006</span> 
     59        <span>Last updated on: May 23, 2008</span> 
    6160    </div> 
    6261    <div class="navbottom"> 
  • trunk/manuals/refman/directives/alias3.html

    r3560 r4276  
    2727alias(Entity, NonTerminal, Alias)</pre> 
    2828<p> 
    29 Declares predicate and grammar rule non-terminal aliases. A predicate (non-terminal) alias is an alternative name for a predicate (non-terminal) declared or defined in an implemented protocol, an imported category, an extended prototype, an instantiated class, or a specialized class. Predicate alias may be used to solve conflicts between imported or inherited predicates. This directive may be used in objects, protocols, and categories. 
     29Declares predicate and grammar rule non-terminal aliases. A predicate (non-terminal) alias is an alternative name for a predicate (non-terminal) declared or defined in an extended protocol, an implemented protocol, an extended category, an imported category, an extended prototype, an instantiated class, or a specialized class. Predicate alias may be used to solve conflicts between imported or inherited predicates. This directive may be used in objects, protocols, and categories. 
    3030</p> 
    3131 
     
    4646    <div class="copyright"> 
    4747        <span>Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://logtalk.org">Logtalk.org</a></span><br/>  
    48         <span>Last updated on: October 26, 2006</span> 
     48        <span>Last updated on: May 23, 2008</span> 
    4949    </div> 
    5050    <div class="navbottom"> 
  • trunk/manuals/refman/directives/uses2.html

    r3739 r4276  
    4545foo :- 
    4646    ..., 
    47     findall(X, member(X, L), A),    % the same as: findall(X, list::member(X, L), A) 
    48     append(A, B, C),                % the same as: list::append(A, B, C) 
     47    findall(X, member(X, L), A),    % the same as findall(X, list::member(X, L), A) 
     48    append(A, B, C),                % the same as list::append(A, B, C) 
    4949    ...</pre> 
    5050<p> 
     
    5656btree_to_queue :- 
    5757    ..., 
    58     new_btree(Tree),     % the same as: btrees::new(Tree) 
    59     new_queue(Queue),    % the same as: queues::new(Queue) 
     58    new_btree(Tree),     % the same as btrees::new(Tree) 
     59    new_queue(Queue),    % the same as queues::new(Queue) 
    6060    ...</pre> 
    6161 
  • trunk/manuals/refman/methods/after3.html

    r3845 r4276  
    4343<h4>Examples</h4> 
    4444 
    45 <pre>after(Object, Message, Sender) :- 
    46     writeq(Object), write('::'), writeq(Message), 
    47     write(' from '), writeq(Sender), nl.</pre> 
     45<pre>:- object(..., 
     46    implements(monitoring), 
     47    ...). 
     48 
     49    after(Object, Message, Sender) :- 
     50        writeq(Object), write('::'), writeq(Message), 
     51        write(' from '), writeq(Sender), nl.</pre> 
    4852 
    4953<div class="footer"> 
    5054    <div class="copyright"> 
    5155        <span>Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://logtalk.org">Logtalk.org</a></span><br/>  
    52         <span>Last updated on: September 15, 2007</span> 
     56        <span>Last updated on: May 23, 2008</span> 
    5357    </div> 
    5458    <div class="navbottom"> 
  • trunk/manuals/refman/methods/before3.html

    r3845 r4276  
    4343<h4>Examples</h4> 
    4444 
    45 <pre>before(Object, Message, Sender) :- 
    46     writeq(Object), write('::'), writeq(Message), 
    47     write(' from '), writeq(Sender), nl.</pre> 
     45<pre>:- object(..., 
     46    implements(monitoring), 
     47    ...). 
     48 
     49    before(Object, Message, Sender) :- 
     50        writeq(Object), write('::'), writeq(Message), 
     51        write(' from '), writeq(Sender), nl.</pre> 
    4852 
    4953<div class="footer"> 
    5054    <div class="copyright"> 
    5155        <span>Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://logtalk.org">Logtalk.org</a></span><br/>  
    52         <span>Last updated on: September 15, 2007</span> 
     56        <span>Last updated on: May 23, 2008</span> 
    5357    </div> 
    5458    <div class="navbottom"> 
  • trunk/manuals/refman/refman.header

    r4233 r4276  
    3636        <span>http://logtalk.org/</span> 
    3737    </p> 
    38     <p class="date">Last updated on April 18, 2008</p> 
     38    <p class="date">Last updated on May 23, 2008</p> 
    3939</div> 
    4040 
  • trunk/manuals/userman/userman.header

    r4233 r4276  
    3636        <span>http://logtalk.org/</span> 
    3737    </p> 
    38     <p class="date">Last updated on April 21, 2008</p> 
     38    <p class="date">Last updated on May 23, 2008</p> 
    3939</div> 
    4040 
  • trunk/scripts/debian/changelog

    r4233 r4276  
    33  * Initial Release. 
    44 
    5  -- Paulo Moura <pmoura@logtalk.org>  Thu April 29 01:00:00 WET 2008 
     5 -- Paulo Moura <pmoura@logtalk.org>  Thu May 26 01:00:00 WET 2008