root/trunk/examples/logging/NOTES.txt

Revision 4662, 1.2 KB (checked in by pmoura, 5 days ago)

Updated copyright notice.

  • Property svn:eol-style set to native
Line 
1================================================================
2Logtalk - Open source object-oriented logic programming language
3Release 2.35.0
4
5Copyright (c) 1998-2009 Paulo Moura.        All Rights Reserved.
6Logtalk is free software.  You can redistribute it and/or modify
7it under the terms of the "Artistic License 2.0" as published by
8The Perl Foundation. Consult the "LICENSE.txt" file for details.
9================================================================
10
11
12To load this example and for sample queries, please see the SCRIPT.txt file.
13
14This folder contains an example of using a category to define a simple
15logging support for objects. This example illustrates how to define in
16a category a set of predicates that handle a dynamic predicate in the
17context of "this". Although the database built-in methods, such as
18assertz/1 or retractall/1, are straightforward to use, calling the
19dynamic predicate must be performed using the message sending ::/2
20control construct (note that a direct call to the dynamic predicate
21would result in a compilation error as it would be interpreted as a
22call to a local category predicate: categories cannot contain clauses
23for dynamic predicates).
Note: See TracBrowser for help on using the browser.