Next: Exiting, Previous: Undefined Predicates, Up: Run Intro [Contents][Index]
Execution of a program is started by giving the system a query that contains a call to one of the program’s predicates.
Only when execution of one query is complete does the system become ready for another query. However, one may interrupt the normal execution of a query. If running in a terminal this is done by typing ^C; if running in SPIDER or GNU Emacs there are special commands for this. This interruption has the effect of suspending the execution, and the following message is displayed:
Prolog interruption (h or ? for help) ?
At this point, the development system accepts one-letter commands corresponding to certain actions. To execute an action simply type the corresponding character followed by RET. The available commands in development systems are:
aborts the current computation.
continues the execution.
exits from SICStus Prolog, closing all files.
lists available commands.
invokes a recursive top level.
switch on the debugger. See Debug Intro.