|
| From: | Daniel Diaz |
| Subject: | Re: Persistent state |
| Date: | Wed, 02 Mar 2005 15:56:18 +0100 |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 |
Hi,you should use Start_Prolog and Stop_Prolog only once. So your code should look like:
Start_Prolog
...
...
facts
...
...
facts
I need to use the former facts here
...
Stop_Prolog
address@hidden wrote:
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.
_______________________________________________
Users-prolog mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/users-prolog
--
===============================================
Daniel Diaz
University of Paris 1 INRIA Rocquencourt
75013 Paris FRANCE 78153 Le Chesnay FRANCE
web: http://pauillac.inria.fr/~diaz
email: address@hidden
--
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
| [Prev in Thread] | Current Thread | [Next in Thread] |