Quote:
Btw.. the failat and if warn just use the return code from main do they ?
(0 - Ok, 5 - Warn, 10 - Error, 20 - Fail)
|
Yes, that's right. Although some programs (mostly intros/demos) don't care what they return, so return codes can be far outside this range.
If a program returns -1, you get a "unknown command" message although the command was executed.