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






This article was previously published under Q50552

SYMPTOMS

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.

MORE INFORMATION

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.

Modification Type: Minor Last Reviewed: 1/9/2003
Keywords: KB50552