Re: assertz & asserta in ECLiPSe ?



newser.bbs@xxxxxxxxxxxxxxxxx wrote:
It seems that there is only one predicate for assertion ,assert/1.
But assertz and asserta get different 2 kinds of effects.
Assertz can make the database into queue , and asserta
makes into stack.

May I ask are there predicates in ECLiPSe working the same
way as assertz and asserta respectively ?

In ECLiPSe you have asserta/1, and assert/1.
assert/1 works in the same way as assertz.
You also have assertz in library iso (that provides compatibility with ISO Prolog).

Cheers,
Marco

--
http://www.ing.unife.it/docenti/MarcoGavanelli/
.