I am trying to run the following test case:
test :- assertz(abc : uvw(1)).
The above works in SWI-Prolog. But I am having problems in making it work in ECLiPSe Prolog. I am getting the following error:
trying to redefine an existing imported procedure in assertz(abc : uvw(1))
I didn't import abc:uvw/1, neither does it exist. Any flags around that would allow to run test/0 successfully in ECLiPSe Prolog?
Best Regards
Edit: P.S.: The following phrasing does also not work:
test :- abc : assertz(uvw(1)).
One then only gets the following error message:
lookup module does not exist in abc : assertz(uvw(1)) in module eclipse