Code Comments
Programming Forum and web based access to our favorite programming groups.I have a pl file:
main :-
repeat,
write('> '),
read(X),
(X==quit->true;fail).
Which, if I run from the SWI-Prolog Editor, I get the following error:
17 ?- main.
> test.
ERROR: Stream user_input:2:330 Syntax error: Operator expected
18 ?-
However, if I run from SWI-Prolog, separate from the editor, it works
perfectly. Is there a bug with the editor, or am I doing something
wrong.
Thanks
Steve
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.