home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
basic
/
library
/
qb_pds
/
qbfaqr01
/
dos
/
errlev1.bas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
BASIC Source File
|
1992-08-09
|
219 b
|
8 lines
'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%