Changeset 4279 for trunk/manuals/refman/builtins/create_protocol3.html
- Timestamp:
- 05/25/08 06:45:04 (6 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/manuals/refman/builtins/create_protocol3.html
r3560 r4279 26 26 <pre>create_protocol(Identifier, Relations, Directives)</pre> 27 27 <p> 28 Creates a new, dynamic ,protocol.28 Creates a new, dynamic protocol. 29 29 </p> 30 30 … … 52 52 <h4>Examples</h4> 53 53 54 <pre>| ?- create_protocol(foo, [extends(bar)], [public(foo/1)]).</pre> 54 <pre>| ?- create_protocol( 55 logging, 56 [extends(monitoring)], 57 [public([log_file/1, log_on/0, log_off/0])] 58 ).</pre> 55 59 56 60 <div class="footer"> 57 61 <div class="copyright"> 58 62 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a href="http://logtalk.org">Logtalk.org</a></span><br/> 59 <span>Last updated on: October 26, 2006</span>63 <span>Last updated on: May 23, 2008</span> 60 64 </div> 61 65 <div class="navbottom">
