(Un)expected syntax error
Abramo Bagnara <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Organization | BUGSENG srl |
| Message-ID | <[email protected]> |
Is the following behavior expected?
?- writeln('volatile').
volatile
true.
?- writeln('volatile' : a).
ERROR: Syntax error: Operator expected
ERROR: writeln('volatile' :
ERROR: ** here **
ERROR: a) .
?- writeln(('volatile' : a)).
ERROR: Syntax error: Operator expected
ERROR: writeln(('volatile' :
ERROR: ** here **
ERROR: a)) .
--
Abramo Bagnara
BUGSENG srl - http://bugseng.com
mailto:[email protected]