home *** CD-ROM | disk | FTP | other *** search
- FUNCTION ErrorLevel% ()
-
- 'Purpose : To check the error level of a program returning from shell
- 'Input : none (well, helps if you did shell a program first)
- 'Return : The errorlevel returned from the last shelled program
-
- DEF SEG = 0
- ErrorLevel% = PEEK(&H4FE)
- DEF SEG
- END FUNCTION
-