Re: Adding Clauses using Assert(a/z)

From: Bart Demoen (bmd_at_cs.kuleuven.ac.be)
Date: 03/23/05


Date: Wed, 23 Mar 2005 11:17:06 +0100

kalden wrote:
> Hi All,
>
> I have a problem where I am adding clauses to the knowledge base using
> assertz. This works fine, but I lose the clauses when I exit the
> SWI-Prolog program. Is there a save method I should be using to save
> these new clauses ready for viewing next time I run the program?
>
> Thanks in advance for your help

listing/0 listing/1 see manual

Cheers

Bart Demoen



Relevant Pages

  • Re: Adding Clauses using Assert(a/z)
    ... > I have a problem where I am adding clauses to the knowledge base ... > assertz. ... but I lose the clauses when I exit the ... If the subject is only to save the clauses at program exit, ...
    (comp.lang.prolog)
  • Adding Clauses using Assert(a/z)
    ... I have a problem where I am adding clauses to the knowledge base using ... assertz. ... but I lose the clauses when I exit the ... SWI-Prolog program. ...
    (comp.lang.prolog)