Category : BASIC Source Code
Archive   : QBFAQR01.ZIP
Filename : ERRLEV1.BAS

 
Output of file : ERRLEV1.BAS contained in archive : QBFAQR01.ZIP
'Purpose : To exit program returning an error level

DECLARE SUB ExitWithRC ALIAS "_exit" (BYVAL RC AS INTEGER)

'Just set ErrLev% to the errorlevel you want or just ExitWithRC 13
ErrLev% = 13
ExitWithRC ErrLev%


  3 Responses to “Category : BASIC Source Code
Archive   : QBFAQR01.ZIP
Filename : ERRLEV1.BAS

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/