Path: utzoo!mnetor!uunet!husc6!uwvax!oddjob!gargoyle!att-ih!ihnp4!inuxc!iuvax!bobmon From: bobmon@iuvax.cs.indiana.edu (RAMontante) Newsgroups: comp.sys.ibm.pc Subject: Re: Setting DOS errorlevel in C (How?) Message-ID: <6985@iuvax.cs.indiana.edu> Date: 17 Mar 88 13:41:14 GMT References: <4831@sigi.Colorado.EDU> <16800236@clio> Reply-To: bobmon@iuvax.UUCP (RAMontante) Organization: Computer Science Dept., Indiana University Lines: 8 I observe that in Turbo C (v1.5), under MSDOS 3.1, I can set the errorlevel either with exit( errorlevel ); or with return( errorlevel ); Just out of curiousity, are there any [good] stylistic, philosophical, or other reasons for choosing one form over the other? (Such as compatibility?)