Im using SWI-Prolog and when I try to run some predicates I write, they put a full stop at the end of my answer automatically and go straight to the next line. While some require me to either press enter or put the fullstop there myself. Why is this?
% range(1,5,X) -> X = [1,2,3,4,5]
range(X, X, [X]).
range(Low, High, [Low | Xs]) :-
Low =< High,
Low1 is Low+1,
range(Low1, High, Xs).
This is an example of one I need to 'manually' either press enter or '.' to finish off, it also returns false if I press ';'. But I can't see why it would return false.