PW> I don't usually return values from programs, that's all :)
PE> You do. You always do. And the DOS errorlevel will always pick it
PW> Well, I usually do
PW> void main() {
PW> /* blah blah blah */
PW> return;
PW> }
Which besides being ILLEGAL returns RANDOM errorlevels to DOS.
PE> up. Just be sure you wrote your program properly, and everyone will
PE> be happy. BFN. Paul.
PW> I write my programs properly (sort of). If I NEED to return a value from
PW> my programs, I usually use exit() or something...
exit(x) is as valid as return(x), but I use the latter to avoid getting a
warning message from various compilers. BFN. Paul.
@EOT:
---
* Origin: X (3:711/934.9)
|