users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question on assert and retract


From: Vic Bancroft
Subject: Re: question on assert and retract
Date: Tue, 27 Aug 2002 06:55:39 -0400 (EDT)

On Tue, 27 Aug 2002, Timo Karjalainen wrote:

> On Mon, 26 Aug 2002, Vic Bancroft wrote:
> 
> Or are you sure you didn't backtrack over the retract/1 call? It will be
> executed again until there are no more matches.
> 
> >  The 1.2.12 version gives,
> >
> >   | ?- retract(toto(2)).
> >
> >   true ? ;  <-----------------+
> >                               |
> >   yes                         |
                                  !
I did sneak in the backtrack port !  

more,
l8r,

------------------------------------------------------------------- 
Victor Bancroft, Principal Engineer, Zvolve Systems [v]770.551.4505 
1050 Crown Pointe Pkwy, Suite 300, Atlanta GA 30338 [f]770.551.4509 
Fellow, Artificial Intelligence Center              [v]706.542-0358 
Athens, Georgia  30602, U.S.A           http://ai.uga.edu/~bancroft 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]