EX_USAGE? felix (13 Jun 2001 19:40 UTC)
(missing)
(missing)
(missing)
(missing)
(missing)
Re: EX_USAGE? Marc Feeley (15 Jun 2001 13:57 UTC)
Re: EX_USAGE? sperber@xxxxxx (15 Jun 2001 16:43 UTC)
Re: EX_USAGE? David Rush (15 Jun 2001 17:23 UTC)

Re: EX_USAGE? sperber@xxxxxx 15 Jun 2001 16:43 UTC

>>>>> "Marc" == Marc Feeley <xxxxxx@IRO.UMontreal.CA> writes:

Marc> While I'm on the subject, I can't say I'm very fond of having main
Marc> return a status code.  I don't like it for C and I don't like it for
Marc> Scheme.  Main should be a procedure.  If main returns normally, then
Marc> the result is ignored and the EX_OK status code is returned from the
Marc> script.  You can always call "error" to return an EX_SOFTWARE (this
Marc> will work even if "error" is not defined!...).

We know.  We though about this.  We disagree.  I'll confer with Martin
once he's out of the swamp, so we should have something by Monday or
Tuesday.

Marc> but this is needlessly ugly, and it still contains a reference to 0
Marc> for EX_OK, which will throw off beginners for sure.  In fact, what
Marc> happens in your proposal if main does not return an exact integer, or
Marc> returns an integer outside the acceptable range?

That's a good point, but the issue is trivially resolved.

--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla