~ubuntu-branches/ubuntu/intrepid/swi-prolog/intrepid

« back to all changes in this revision

Viewing changes to man/Manual/dynamic-modules.html

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lamb
  • Date: 2008-05-14 02:47:49 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080514024749-out53uysriunvn32
Tags: 5.6.55-1
* New upstream release.
* Use correct shared object file extension on HPPA to fix FTBFS on this
  architecture since 5.6.53-2. Patch backported from upstream repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
<HTML>
4
4
<HEAD>
5
 
<TITLE>SWI-Prolog 5.6.53 Reference Manual: Section 5.8</TITLE><LINK REL=home HREF="index.html">
 
5
<TITLE>SWI-Prolog 5.6.55 Reference Manual: Section 5.8</TITLE><LINK REL=home HREF="index.html">
6
6
<LINK REL=contents HREF="Contents.html">
7
7
<LINK REL=index HREF="DocIndex.html">
8
8
<LINK REL=previous HREF="metainmodule.html">
153
153
 
154
154
<P>These calls create a module called `world_a' and make the call 
155
155
`world_a:consistent' succeed. Undefined predicates will not start the 
156
 
tracer or autoloader for this module (see <A NAME="idx:unknown2:1169"></A><A class="pred" href="debugger.html#unknown/2">unknown/2</A>).
 
156
tracer or autoloader for this module (see <A NAME="idx:unknown2:1172"></A><A class="pred" href="debugger.html#unknown/2">unknown/2</A>).
157
157
 
158
158
<P>Import and export from dynamically created world is arranged via the 
159
 
predicates <A NAME="idx:import1:1170"></A><A class="pred" href="import.html#import/1">import/1</A> 
160
 
and <A NAME="idx:export1:1171"></A><A class="pred" href="manipmodule.html#export/1">export/1</A>:
 
159
predicates <A NAME="idx:import1:1173"></A><A class="pred" href="import.html#import/1">import/1</A> 
 
160
and <A NAME="idx:export1:1174"></A><A class="pred" href="manipmodule.html#export/1">export/1</A>:
161
161
 
162
162
<PRE class="code">
163
163
?- world_b:export(solve(_,_)).          % exports solve/2 from world_b