[ Operating System | Reference Manual | Alphabetic Index ]
The Prolog session is ended and the specified status returned to the
Used to exit from the Prolog session. If user_end/0 is defined and
global, it is called. All buffers are flushed, streams are closed and
ECLiPSe exits. The specified status code is returned to the operating
system. exit(0) is identical with halt.
Modes and Determinism
- (4) instantiation fault
- Status is not instantiated.
- (5) type error
- Status is instantiated to a non-integer.
csh% echo $status
halt / 0, toplevel : break / 0, pause / 0