[MUD-Dev] PirateMUD and CSL

Jon A. Lambert jlsysinc at ix.netcom.com
Wed Aug 13 20:54:01 CEST 1997


> From: clawrenc at 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 



More information about the mud-dev-archive mailing list