89b034ce45
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@349 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
226 lines
15 KiB
HTML
226 lines
15 KiB
HTML
<!doctype html public "-//W3C//DTD HTML 4.01//EN"
|
|
"http://www.w3.org/TR/html4/strict.dtd">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
<title>Logtalk 2.9.3 User Manual</title>
|
|
<link rel=stylesheet href="../styles.css" type="text/css">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<hr />
|
|
<h1><a class="back" title="Return to index" href="../index.html#userman">User Manual</a></h1>
|
|
<hr />
|
|
|
|
<h2>Table of Contents</h2>
|
|
|
|
<h4><a name="features" href="features.html">Logtalk features</a></h4>
|
|
|
|
<dl>
|
|
<dt><a name="features_logic" href="features.html#logic">Integration of logic and object-oriented programming</a></dt>
|
|
<dt><a name="features_events" href="features.html#events">Integration of event-driven and object-oriented programming</a></dt>
|
|
<dt><a name="features_both" href="features.html#both">Support for both prototype and class-based systems</a></dt>
|
|
<dt><a name="features_multiple" href="features.html#multiple">Support for multiple object hierarchies</a></dt>
|
|
<dt><a name="features_interface" href="features.html#interface">Separation between interface and implementation</a></dt>
|
|
<dt><a name="features_inheritance" href="features.html#inheritance">Private, protected and public inheritance</a></dt>
|
|
<dt><a name="features_predicates" href="features.html#predicates">Private, protected and public object predicates</a></dt>
|
|
<dt><a name="features_parametric" href="features.html#parametric">Parametric objects</a></dt>
|
|
<dt><a name="features_learning" href="features.html#learning">Smooth learning curve</a></dt>
|
|
<dt><a name="features_compatibility" href="features.html#compatibility">Compatibility with most Prologs and the ISO standard</a></dt>
|
|
</dl>
|
|
|
|
<h4><a name="messages" href="messages.html">Message sending</a></h4>
|
|
|
|
<dl>
|
|
<dt><a name="messages_operators" href="messages.html#operators">Operators used in message sending</a></dt>
|
|
<dt><a name="messages_sending" href="messages.html#sending">Sending a message to an object</a></dt>
|
|
<dt><a name="messages_broadcasting" href="messages.html#broadcasting">Broadcasting</a></dt>
|
|
<dt><a name="messages_self" href="messages.html#self">Sending a message to <em>self</em></a></dt>
|
|
<dt><a name="messages_super" href="messages.html#super">Calling an overridden predicate definition</a></dt>
|
|
<dt><a name="messages_events" href="messages.html#events">Message sending and event generation</a></dt>
|
|
</dl>
|
|
|
|
<h4><a name="objects" href="objects.html">Objects</a></h4>
|
|
|
|
<dl>
|
|
<dt><a name="objects_kind" href="objects.html#kind">Objects, prototypes, classes and instances</a></dt>
|
|
<dt><a name="objects_defining" href="objects.html#defining">Defining a new object</a></dt>
|
|
<dt><a name="objects_parametric" href="objects.html#parametric">Parametric objects</a></dt>
|
|
<dt><a name="objects_finding" href="objects.html#finding">Finding defined objects</a></dt>
|
|
<dt><a name="objects_creating" href="objects.html#creating">Creating a new object in runtime</a></dt>
|
|
<dt><a name="objects_abolishing" href="objects.html#abolishing">Abolishing an existing object</a></dt>
|
|
<dt><a name="objects_directives" href="objects.html#directives">Object directives</a></dt>
|
|
<dd><a name="objects_initialization" href="objects.html#initialization">Object initialization</a></dd>
|
|
<dd><a name="objects_dynamic" href="objects.html#dynamic">Dynamic objects</a></dd>
|
|
<dd><a name="objects_dependencies" href="objects.html#dependencies">Object dependencies</a></dd>
|
|
<dd><a name="objects_documentation" href="objects.html#documentation">Object documentation</a></dd>
|
|
<dt><a name="objects_relationships" href="objects.html#relationships">Object relationships</a></dt>
|
|
<dt><a name="objects_properties" href="objects.html#properties">Object properties</a></dt>
|
|
<dt><a name="objects_user" href="objects.html#user">The pseudo-object user</a></dt>
|
|
</dl>
|
|
|
|
<h4><a name="protocols" href="protocols.html">Protocols</a></h4>
|
|
|
|
<dl>
|
|
<dt><a name="protocols_defining" href="protocols.html#defining">Defining a new protocol</a></dt>
|
|
<dt><a name="protocols_finding" href="protocols.html#finding">Finding defined protocols</a></dt>
|
|
<dt><a name="protocols_creating" href="protocols.html#creating">Creating a new protocol in runtime</a></dt>
|
|
<dt><a name="protocols_abolishing" href="protocols.html#abolishing">Abolishing an existing protocol</a></dt>
|
|
<dt><a name="protocols_directives" href="protocols.html#directives">Protocol directives</a></dt>
|
|
<dd><a name="protocols_initialization" href="protocols.html#initialization">Protocol initialization</a></dd>
|
|
<dd><a name="protocols_dynamic" href="protocols.html#dynamic">Dynamic protocols</a></dd>
|
|
<dd><a name="protocols_documentation" href="protocols.html#documentation">Protocol documentation</a></dd>
|
|
<dt><a name="protocols_relationships" href="protocols.html#relationships">Protocol relationships</a></dt>
|
|
<dt><a name="protocols_properties" href="protocols.html#properties">Protocol properties</a></dt>
|
|
<dt><a name="protocols_implementing" href="protocols.html#properties">Implementing protocols</a></dt>
|
|
</dl>
|
|
|
|
<h4><a name="categories" href="categories.html">Categories</a></h4>
|
|
|
|
<dl>
|
|
<dt><a name="categories_defining" href="categories.html#defining">Defining a new category</a></dt>
|
|
<dt><a name="categories_finding" href="categories.html#finding">Finding defined categories</a></dt>
|
|
<dt><a name="categories_creating" href="categories.html#creating">Creating a new category in runtime</a></dt>
|
|
<dt><a name="categories_abolishing" href="categories.html#abolishing">Abolishing an existing category</a></dt>
|
|
<dt><a name="categories_directives" href="categories.html#directives">Category directives</a></dt>
|
|
<dd><a name="categories_initialization" href="categories.html#initialization">Category initialization</a></dd>
|
|
<dd><a name="categories_dynamic" href="categories.html#dynamic">Dynamic categories</a></dd>
|
|
<dd><a name="categories_dependencies" href="categories.html#dependencies">Category dependencies</a></dd>
|
|
<dd><a name="categories_documentation" href="categories.html#documentation">Category documentation</a></dd>
|
|
<dt><a name="categories_relationships" href="categories.html#relationships">Category relationships</a></dt>
|
|
<dt><a name="categories_properties" href="categories.html#properties">Category properties</a></dt>
|
|
<dt><a name="categories_importing" href="categories.html#importing">Importing categories</a></dt>
|
|
</dl>
|
|
|
|
<h4><a name="predicates" href="predicates.html">Predicates</a></h4>
|
|
|
|
<dl>
|
|
<dt><a name="predicates_declaring" href="predicates.html#declaring">Declaring predicate</a></dt>
|
|
<dd><a name="predicates_scope" href="predicates.html#scope">Scope directives</a></dd>
|
|
<dd><a name="predicates_mode" href="predicates.html#mode">Mode directive</a></dd>
|
|
<dd><a name="predicates_meta" href="predicates.html#meta">Metapredicate directive</a></dd>
|
|
<dd><a name="predicates_discontiguous" href="predicates.html#discontiguous">Discontiguous directive</a></dd>
|
|
<dd><a name="predicates_dynamic" href="predicates.html#dynamic">Dynamic directive</a></dd>
|
|
<dd><a name="predicates_info" href="predicates.html#info">Documenting directive</a></dd>
|
|
<dt><a name="predicates_defining" href="predicates.html#defining">Defining predicates</a></dt>
|
|
<dd><a name="predicates_objects" href="predicates.html#objects">Object predicates</a></dd>
|
|
<dd><a name="predicates_categories" href="predicates.html#categories">Category predicates</a></dd>
|
|
<dt><a name="predicates_methods" href="predicates.html#methods">Built-in object predicates (methods)</a></dt>
|
|
<dd><a name="predicates_local" href="predicates.html#local">Local methods</a></dd>
|
|
<dd><a name="predicates_database" href="predicates.html#database">Database methods</a></dd>
|
|
<dd><a name="predicates_solutions" href="predicates.html#solutions">All solutions methods</a></dd>
|
|
<dd><a name="predicates_reflection" href="predicates.html#reflection">Reflection methods</a></dd>
|
|
<dt><a name="predicates_properties" href="predicates.html#properties">Predicate properties</a></dt>
|
|
<dt><a name="predicates_finding" href="predicates.html#finding">Finding declared predicates</a></dt>
|
|
</dl>
|
|
|
|
<h4><a name="inheritance" href="inheritance.html">Inheritance</a></h4>
|
|
|
|
<dl>
|
|
<dt><a name="inheritance_protocol" href="inheritance.html#protocol">Protocol inheritance</a></dt>
|
|
<dd><a name="inheritance_protocol_prototype" href="inheritance.html#protocol_prototype">Search order for prototype hierarchies</a></dd>
|
|
<dd><a name="inheritance_protocol_class" href="inheritance.html#protocol_class">Search order for class hierarchies</a></dd>
|
|
<dt><a name="inheritance_implementation" href="inheritance.html#implementation">Implementation inheritance</a></dt>
|
|
<dd><a name="inheritance_implementation_prototype" href="inheritance.html#implementation_prototype">Search order for prototype hierarchies</a></dd>
|
|
<dd><a name="inheritance_implementation_class" href="inheritance.html#implementation_class">Search order for class hierarchies</a></dd>
|
|
<dd><a name="inheritance_implementation_redefinition" href="inheritance.html#implementation_redefinition">Inheritance versus predicate redefinition</a></dd>
|
|
<dt><a name="inheritance_types" href="inheritance.html#types">Public, protected and private inheritance</a></dt>
|
|
<dt><a name="inheritance_composition" href="inheritance.html#composition">Composition versus multiple inheritance</a></dt>
|
|
</dl>
|
|
|
|
<h4><a name="events" href="events.html">Event-driven programming</a></h4>
|
|
|
|
<dl>
|
|
<dt><a name="events_definitions" href="events.html#definitions">Definitions</a></dt>
|
|
<dd><a name="events_event" href="events.html#event">Event</a></dd>
|
|
<dd><a name="events_monitor" href="events.html#monitor">Monitor</a></dd>
|
|
<dt><a name="events_generation" href="events.html#generation">Event generation</a></dt>
|
|
<dt><a name="events_communicating" href="events.html#communicating">Communicating events to monitors</a></dt>
|
|
<dt><a name="events_performance" href="events.html#performance">Performance concerns</a></dt>
|
|
<dt><a name="events_semantics" href="events.html#semantics">Monitor semantics</a></dt>
|
|
<dt><a name="events_order" href="events.html#order">Activation order of monitors</a></dt>
|
|
<dt><a name="events_handling" href="events.html#handling">Event handling</a></dt>
|
|
<dd><a name="events_finding" href="events.html#finding">Finding defined events</a></dd>
|
|
<dd><a name="events_defining" href="events.html#defining">Defining new events</a></dd>
|
|
<dd><a name="events_abolishing" href="events.html#abolishing">Abolishing defined events</a></dd>
|
|
<dd><a name="events_handlers" href="events.html#handlers">Defining event handlers</a></dd>
|
|
</dl>
|
|
|
|
<h4><a name="errors" href="errors.html">Error handling</a></h4>
|
|
|
|
<dl>
|
|
<dt><a name="errors_compiler" href="errors.html#compiler">Compiler warnings and errors</a></dt>
|
|
<dd><a name="errors_wunknown" href="errors.html#wunknown">Unknown entities</a></dd>
|
|
<dd><a name="errors_wsingletons" href="errors.html#wsingletons">Singleton variables</a></dd>
|
|
<dd><a name="errors_wprolog" href="errors.html#wprolog">Redefinition of Prolog built-in predicates</a></dd>
|
|
<dd><a name="errors_wpredicates" href="errors.html#wpredicates">Redefinition of Logtalk built-in predicates</a></dd>
|
|
<dd><a name="errors_wmethods" href="errors.html#wmethods">Redefinition of Logtalk built-in methods</a></dd>
|
|
<dd><a name="errors_wmisspell" href="errors.html#wmisspell">Misspell calls of local predicates</a></dd>
|
|
<dd><a name="errors_wportability" href="errors.html#wportability">Portability warnings</a></dd>
|
|
<dd><a name="errors_wothers" href="errors.html#wothers">Other warnings and errors</a></dd>
|
|
<dt><a name="errors_runtime" href="errors.html#runtime">Runtime errors</a></dt>
|
|
<dd><a name="errors_predicates" href="errors.html#unknownMessage">Logtalk built-in predicates</a></dd>
|
|
<dd><a name="errors_methods" href="errors.html#methods">Logtalk built-in methods</a></dd>
|
|
<dd><a name="errors_sending" href="errors.html#sending">Message sending</a></dd>
|
|
</dl>
|
|
|
|
<h4><a name="documenting" href="documenting.html">Documenting Logtalk programs</a></h4>
|
|
|
|
<dl>
|
|
<dt><a name="documenting_directives" href="documenting.html#directives">Documenting directives</a></dt>
|
|
<dd><a name="documenting_entity" href="documenting.html#entity">Entity directives</a></dd>
|
|
<dd><a name="documenting_predicate" href="documenting.html#predicate">Predicate directives</a></dd>
|
|
<dt><a name="documenting_processing" href="documenting.html#processing">Processing and viewing documenting files</a></dt>
|
|
</dl>
|
|
|
|
<h4><a name="configuration" href="configuration.html">Configuring Logtalk</a></h4>
|
|
|
|
<dl>
|
|
<dt><a name="configuration_requirements" href="configuration.html#requirements">Hardware & software requirements</a></dt>
|
|
<dd><a name="configuration_computer" href="configuration.html#computer">Computer and operating system</a></dd>
|
|
<dd><a name="configuration_compiler" href="configuration.html#compiler">Prolog compiler</a></dd>
|
|
<dt><a name="configuration_files" href="configuration.html#files">Configuration file contents</a></dt>
|
|
</dl>
|
|
|
|
<h4><a name="installing" href="installing.html">Installing and running Logtalk</a></h4>
|
|
|
|
<dl>
|
|
<dt><a name="installing_installing" href="installing.html#installing">Installing Logtalk</a></dt>
|
|
<dd><a name="installing_organization" href="installing.html#organization">Directories and files organization</a></dd>
|
|
<dd><a name="installing_configs" href="installing.html#configs">Configuration files</a></dd>
|
|
<dd><a name="installing_compiler" href="installing.html#compiler">Logtalk compiler and runtime</a></dd>
|
|
<dd><a name="installing_library" href="installing.html#library">Library</a></dd>
|
|
<dd><a name="installing_examples" href="installing.html#examples">Examples</a></dd>
|
|
<dd><a name="installing_entities" href="installing.html#entities">Logtalk source files</a></dd>
|
|
<dd><a name="installing_loaders" href="installing.html#loaders">Loader utility files</a></dd>
|
|
<dt><a name="installing_running" href="installing.html#running">Running a Logtalk session</a></dt>
|
|
<dd><a name="installing_starting" href="installing.html#starting">Starting Logtalk</a></dd>
|
|
<dd><a name="installing_compiling" href="installing.html#compiling">Compiling and loading your programs</a></dd>
|
|
<dd><a name="installing_options" href="installing.html#options">Compiler option flags</a></dd>
|
|
</dl>
|
|
|
|
<h4><a name="programming" href="programming.html">Programming in Logtalk</a></h4>
|
|
|
|
<dl>
|
|
<dt><a name="programming_scope" href="programming.html#scope">Logtalk scope</a></dt>
|
|
<dt><a name="programming_writing" href="programming.html#writing">Writing programs</a></dt>
|
|
<dd><a name="programming_source_files" href="programming.html#source_files">Source files</a></dd>
|
|
<dd><a name="programming_portability" href="programming.html#portability">Portable programs</a></dd>
|
|
<dd><a name="programming_errors" href="programming.html#errors">Avoiding common errors</a></dd>
|
|
</dl>
|
|
|
|
<hr />
|
|
<p class="center">
|
|
<strong><a title="Consult reference manual" href="../refman/index.html">Reference manual</a> | <a href="../tutorial/index.html">Tutorial</a> | <a href="../bibliography.html">Bibliography</a> | <a href="../glossary.html">Glossary</a></strong>
|
|
</p>
|
|
<p class="center">
|
|
Last updated on: February 9, 2002
|
|
</p>
|
|
<hr />
|
|
|
|
</body>
|
|
|
|
</html>
|