[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exit on Schemes for Unix



In article <9001041217.AA11268@huxley.mitre.org> ramsdell@LINUS.MITRE.ORG writes:
>When the exit command is called with no
>arguments, or when there is nothing more to read from standard input,
>the Scheme interpreter process should set the status bits returned to
>the parent process to the break level.

I agree except for one thing:
It should merely set the status bits to a non-zero value (or whatever
restriction Unix percieves as an error).
This allows the scheme program to return more useful error information:
(error 57) where 57 is the error number for directory not found,

John
gateley@m2.csc.ti.com