Assignment in Immediate Window Causes Syntax Check In Editor (94692)
The information in this article applies to:
- Microsoft Visual Basic for MS-DOS
- Microsoft Basic Professional Development System for MS-DOS 7.1
- Microsoft QuickBASIC 4.5
This article was previously published under Q94692 SUMMARY
With a program loaded in the Edit window, if you perform any kind of
assignment in the Immediate window, the focus shifts to the Edit window
and a syntax check is performed. This can cause untimely syntax errors if
your program was not ready to run.
This behavior is by design. The following demonstrates how this works:
- In the Edit window of VBDOS.EXE, QBX.EXE, or QB.EXE type the following:
- In the Immediate window, type the following and press ENTER:
At this point, focus shifts to the Edit window, and the following error
message appears:
Loop without Do
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB94692 |
---|
|