Did you know ... | Search Documentation: |
![]() | toplevel.pl |
:- initialization(Goal, program).
. Stop
with an exception if a goal fails or raises an exception.start_thread()
from pl-thread.c before the thread's goal.forall(prolog:repl_loop_hook(BeginEnd, BreakLevel), true)
query_loop()
. This ensures that unhandled
exceptions are really unhandled (in Prolog).