Lets say i have simple hello world code
hworld:-writeln('hello world').
This code always returns something like this:
hello world
true.
As far as i understand prolog, it returns either variable value (of X i.e. fact(5,X).) or true/false, if predicate can be solved (i.e. fact(5,120).). What i need is to hide true/false predicate result on stdout (so there will be only results of writeln() predicate). How to do so? Thanks.