Persistent state

[email protected]
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>
Hi,

I am working in a project where I need to use Start_Prolog and Stop_Prolog
in different places. How could I save facts before calling Stop_prolog to
use them later in another prolog session, this means, I use Start_Prolog,
then I do different things, and finally I use Stop_Prolog


  Start_Prolog
    ...
    ...
    facts
     ...

   Stop_Prolog



  Start_Prolog
    ...
    ...
    I need to use the former facts here
     ...

   Stop_Prolog


Cheers,

   Carlos.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.