Re: Operating system interface...

Robert Ransom <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <CABqy+sp62sDyDAgc8GrDpmqZuiELuJgNpaSunjVP02ZM17xd1Q@mail.gmail.com>
On 8/28/13, Sean Charles <[email protected]> wrote:
> Hi,
>
> Is there an exit(status) predicate lurking… I can't find it if it is there.
> Sorry of it is. I have some code that wants to abort and exit to the OS with
> a failure code at certain points, which a shell script will pick up using
> "$?" in the usual way.

It's halt(+status).


Robert Ransom

_______________________________________________
Users-prolog mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/users-prolog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.