KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q46183: Search/Change "Match Not Found" If Previous Search/Label

Article: Q46183
Product(s): See article
Version(s): 4.50
Operating System(s): MS-DOS
Keyword(s): ENDUSER | buglist4.50 B_BasicCom SR# S890616-7 | mspl13_basic
Last Modified: 26-FEB-1990

In the QuickBASIC Version 4.50 environment, if you attempt to perform
a Search/Change after previously performing a Search/Label, then a
"Match Not Found" message or similar message may display. If the
Search/Change is performed first, it functions correctly.

Microsoft has confirmed this to be a problem in the QB.EXE editor in
Microsoft QuickBASIC Version 4.50. This problem was corrected in the
QuickBASIC Extended (QBX.EXE) environment of Microsoft BASIC
Professional Development System (PDS) Version 7.00 for MS-DOS and MS
OS/2 (fixlist7.00).

When using the Label command on the Search menu, the Change command
doesn't function correctly until another option is chosen from that
menu. The Change command appears to work in all situations except
after the Label command has been invoked.

This problem is associated only with the QuickBASIC Version 4.50
environment and does not occur in earlier versions.

To reproduce the problem, do the following:

1. Enter the following lines of code:

      LPRINT "Hello"
      LPRINT "GoodBye"
      label1:
      LPRINT "The end"

2. Choose Label from the Search menu and find the label "label1".

3. Choose Change from the Search menu and find LPRINT and change it
   to PRINT. The message "No Match Found" is displayed.

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.