Availability:built-in
[ISO]haltTerminate Prolog execution with default exit code using halt/1.
The default exit code is normally 0, but can be 1 if one of the Prolog
flags on_error or on_warning
is set to
status
and there have been errors or warnings.