View Single Post
Old 27 May 2013, 18:00   #4
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,001
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.
thomas is offline  
 
Page generated in 0.20316 seconds with 11 queries