Microsoft KB Archive/67378

= OPEN SCRN: or CONS: Wrong Output in QBX.EXE When Step (F8) =

Article ID: 67378

Article Last Modified on 11/21/2006



This article was previously published under Q67378



SYMPTOMS
When you single step (F8) through a program that redirects screen output to the device name CON or the MS-DOS standard devices SCRN: or CONS:, the output will incorrectly flash momentarily on the QBX.EXE programming environment instead of going to the output window.



STATUS
Microsoft has confirmed this to be a bug in the editing environment (QBX.EXE) of Microsoft Basic Professional Development System (PDS) versions 7.0 and 7.1. This problem does not occur in the Microsoft QuickBasic environment (QB.EXE) shipped with QuickBasic versions 4.0, 4.0b, and 4.5. Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



MORE INFORMATION
The following short program demonstrates the problem: OPEN &quot;SCRN:&quot; FOR OUTPUT AS #1  ' &quot;CONS:&quot; and &quot;CON&quot; also show problem. FOR i = 1 TO 10 PRINT #1, i NEXT i Single step through this program in the QBX.EXE 7.0 or 7.1 environment by repeatedly pressing the F8 key. The output will momentarily flash on the environment screen; no text will be displayed on the output screen. Note that just running the program (F5) will correctly print to the output screen.

Additional query words: BasicCom buglist7.00 buglist7.10 4.00 4.00b 4.50 7.00 7.10

Keywords: KB67378

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.