root/trunk/examples/bricks/NOTES.txt

Revision 4662, 1.3 KB (checked in by pmoura, 6 days ago)

Updated copyright notice.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
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
14You will also need to load the following files in the library directory:
15events_loader, types_loader, metapredicates_loader, and hierarchies_loader.
16Alternatively, you may load the library all_loader file to load all library
17entities.
18
19This folder contains an example of representation and handling of
20relations using events. We have instances of class brick and a binary
21brick_stack relation between the bricks. Every time we move a brick, we
22want the bricks on top of it to move along. If we break the stack by
23moving a middle brick, we want to automatically destroy the
24corresponding relation tuple.
25
26It's instructive to use the event debugger in the Logtalk library (loader
27file debugging_loader.lgt) to better understand this example. Set spy points
28in all brick instances and then activate the debugger.
Note: See TracBrowser for help on using the browser.