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