abort( +Integer )

This predicate stops the execution of the top-level goal of the current prolog program. The current version of Trinc-Prolog ignores the integer value of the argument and stops without displaying a message.

see also: abort/0 halt/0 halt/1

Exceptions
the parameter Integer is a variable an instantiation_error exception is thrown
the parameter Integer is neither a variable nor an integer a type_error(integer, A) is thrown, the variable A is replaced with the value of the parameter Integer

 

 

info@trinc-prolog.com