Next: Runtimes and Foreign
Up: Generating Runtime Applications
Previous: Generating Runtime Applications
There are three areas that require special attention when using
qsave_program/[1,2].
-
If the program is an embedded Prolog application or uses the foreign
language interface, care has to be taken to restore the appropriate
foreign context. See section for details.
-
If the program uses directives (
:- goal.
lines) that perform
other actions then setting predicate attributes (dynamic, volatile,
etc.) or loading files (consult, etc.), the directive may need to be
prefixed with initialization/1.
-
`Database references as returned by clause/3, recorded/3, etc.
are not preserved and may thus not be part of the database when saved.
Passani Luca
Tue Nov 14 08:58:33 MET 1995