The Prolog Console View lets you query Prolog predicates and display the results.
A query is typed in at the prompt and terminated with a full-stop ('.'). Hitting
Enter after the full stop issues the query to the Prolog system and displays the results (if any). Typing a semicolon(';') displays the next result (or 'false', if there are no more results). Typing 'a' aborts the query.
The Prolog Console View includes a history mechanism (see keyboard shortcuts) and code completion.
The code completion of the Prolog Console View applies to built-in predicates and all user-defined predicates currently loaded into the Prolog system (including dynamically created ones).
In the Prolog Console View, completion is triggered with
The Console's toolbar (in the upper right-hand corner of the Console Window) provides the following buttons:
writeln('Info: Hello World'),writeln('ERROR: Hello'),writeln(' World'), writeln('WArNinG: World Hello!'), writeln('debug: World Hello?'), writeln('*** Hello World'),writeln('*** ERROR: Hello World'), writeln('***WArNinG: World Hello!').