[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

2988: Re: [MUD-Dev] PirateMUD and CSL

[Full Header] [Plain Text]
From: "Jon A. Lambert" <jlsysinc@ix.netcom.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Wed, 13 Aug 1997 20:54:01 -0400
Organization: Kanga.Nu
> From: clawrenc@cup.hp.com
> Subject: [MUD-Dev] PirateMUD and CSL
> Date: Tuesday, August 12, 1997 3:10 PM
> 
> 
> My general extrapolation is:
> 
>   negative values == failure conditions
>   zero value == success/pass
>   postive values == something notable which isn't an error happened.
> 

IBM has used this sort of call return fairly consistently in many of their
development products.  In fact, some of the red books on PL/1 programming
(smile) recommended using function calls instead of procedure calls and 
returning integer values exactly as you prescribe above.

My first C programs were highly influenced by my mental separation
of procedures and functions.  Those of you who have drunken heavily of 
Pascal can probably relate to this odd state of mind. =)


JL