KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q51622: mgreplist Incorrectly Documented As megreplist in Example

Article: Q51622
Product(s): See article
Version(s): 1.02
Operating System(s): MS-DOS
Keyword(s): ENDUSER | docerr | mspl13_basic
Last Modified: 15-MAR-1990

The examples given on Pages 180 and 181 of the FORTRAN "Microsoft
Editor User's Guide" incorrectly identifies the megreplist command as
mgreplist. The documentation shows the following:

   megreplist:="DATA.FIL *.FOR $INCLUDE:*.H"

This should be the following:

   mgreplist:="DATA.FIL *.FOR $INCLUDE:*.H"

The megreplist macro does not exist and should be changed to
mgreplist.

The example above sets mgreplist to a series of files to be searched
when Mgrep is called. If the textarg string (specified as an argument
to Mgrep) is found in any of these files, the instance will be
reported in the pseudo file <compile>. All succeeding calls to Mgrep
will reset this file.

The following are the files that are searched in the above example:

1. DATA.FIL.

2. Any file in the current directory with a .FOR extension.

3. Any file along the INCLUDE environment variable path with a .H
   extension.

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.