Q50552: QB.EXE Hangs If BACKSPACE after IF GOTO Syntax (with No THEN)
Article: Q50552 Product(s): See article Version(s): 4.00 4.00b 4.50 Operating System(s): MS-DOS Keyword(s): ENDUSER | buglist4.00 buglist4.00b buglist4.50 B_BasicCom | mspl13_basic Last Modified: 16-DEC-1989 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.
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
Copyright Microsoft Corporation 1986-2002.