MUD-Dev
mailing list archive

[ Other Periods  | Other mailing lists  | Search  ]

Date:  [ Previous  | Next  ]      Thread:  [ Previous  | Next  ]      Index:  [ Author  | Date  | Thread  ]

Re: [MUD-Dev] PirateMUD and CSL



> 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 



[ Other Periods  | Other mailing lists  | Search  ]