next up previous index
Next: Interrupting the execution Up: Interaction with the Previous: Querying Programs

Syntax errors

  If an error occurs while reading input from the terminal, the system prints an error message after the next newline and waits for input of a correct Prolog term.

[eclipse 3]: a b      <return>
syntax error: postfix/infix operator expected
| a b
|   ^ here
[eclipse 3]:
During compilation, clauses with syntax errors cause an error message and are ignored, but all other clauses are compiled normally.



Micha Meier
Mon Mar 4 12:11:45 MET 1996