I am developing an algorithm in a .pl file and reviewing it with requests in a command window. I use dynamic variables and retract / assert predicates. And when I modify the pl file and click "reload modified files", I have additional facts that I do not need.
for example, at the beginning I have a counter (0).
and I do something, remove and approve this counter, it becomes a counter (7). Then, when I reload the modified pl file, I have both counter (0). as well as a counter (7).
How can I prevent this and have a counter (0). at the beginning?
Thanks in advance.
source share