abort/0
abort
Abandons the current execution and returns to the beginning of the current break level.
Fairly drastic predicate that is normally only used when some error condition has occurred and there is no way of carrying on, or when debugging.
Often used via the debugging option a or the ^C interrupt option a.
If abort
is called from initialization (see
sap-srs-eci), then QP_initialize()
returns. If
user has not defined their own main()
, this means that
QP_toplevel()
gets called and you get the default top level loop.
The same holds true for ^C followed by the a option.
Please note: The goal specified by
save_program/2
is also run as aninitialization
when a saved file is restored.
Please note: In the context of a runtime system,
QP_toplevel()
corresponds to callingruntime_entry(start)
.
Does not close any files that you may have opened.
When using see/1
and tell/1
, (rather than open/3
,
set_input/1
, and set_output/1
), close files yourself to
avoid strange behavior after your program is aborted and restarted.
halt/[0,1]
, break/0
, QP_toplevel()
, QP_initialize()
, runtime_entry/1
ref-iex-int