Specifications

40
[ 3 ] Error Level Indication by ERRORLEVEL
If you specify a +E option at the command line and run the BHT-BASIC 3.5 Compiler, the
ERRORLEVEL of MS-DOS allows the Compiler to set the compiling end status to the MS-DOS
environmental variable ERRORLEVEL after completion of processing, as any of the error lev-
els listed below.
By referring to this ERRORLEVEL, you can learn the compiling end status.
By making a batch file which automatically starts proper operation according to the error level,
you can facilitate debugging procedures.
For details about the ERRORLEVEL, refer to the MS-DOS Reference Manual.
ERRORLEVEL Description
0
1
2
4
5
6
7
8
9
10
20
21
30
40
70
99
Normal end
No designated file or path found.
Filename format not correct
Project invalid
File open error
Write-protect error
File renaming failure
Project file creating failure
Existing project file deleted
Entered option invalid
Compiling syntax error
Compiling fatal error
Link error
Library error
No empty space in the designated disk
Other errors