Basic Cannot Get Child Process Return Code or "Error Level" (42472)
The information in this article applies to:
- Microsoft QuickBASIC 2.0
- Microsoft QuickBASIC 2.01
- Microsoft QuickBASIC 3.0
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
- Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.0
- Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.1
This article was previously published under Q42472 SUMMARY
A parent process (such as a SHELLing program compiled in Basic) cannot
determine what MS-DOS return code (MS-DOS error level) was set by the
child (SHELLed) process. For example, if a parent Basic program
SHELLs to a child process (such as a Basic, C, or MASM program), when
the child terminates, the parent cannot determine the MS-DOS return
code.
Modification Type: | Minor | Last Reviewed: | 1/9/2003 |
---|
Keywords: | KB42472 |
---|
|