Microsoft KB Archive/50552

From BetaArchive Wiki
Knowledge Base

QB.EXE Hangs If BACKSPACE after IF GOTO Syntax (with No THEN)

Article ID: 50552

Article Last Modified on 11/21/2006

This article was previously published under Q50552


When editing a legal IF GOTO syntax that has no THEN word, if you press the BACKSPACE key in the column beneath the "I" in the "IF" statement, the computer hangs.

This problem occurs in the QB.EXE editor in Microsoft QuickBasic Versions 4.00, 4.00b, and 4.50 for MS-DOS and in QB.EXE in Microsoft Basic Compiler Versions 6.00 and 6.00b for MS-DOS (buglist6.00, buglist6.00b). This problem was corrected in QBX.EXE in Microsoft Basic PDS (Professional Development System) Version 7.00 (fixlist7.00).

The hanging problem does not occur when you use the THEN word in the IF <condition> THEN GOTO syntax.


The following is a code example:

   IF x=0 GOTO label

While the cursor is in the column beneath the "I" in the "IF" statement (the first column), press the BACKSPACE key to hang the machine.

Additional query words: QuickBas BasicCom buglist4.00 buglist4.00b buglist4.50 B_BasicCom

Keywords: KB50552