SET EXACT Commands Documented Incorrectly

Last reviewed: April 17, 1995
Article ID: Q88280
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, version 2.0

In the FoxPro "Commands and Functions" manual, the first two paragraphs in the documentation for the SET EXACT command contain two errors.

The sentence that describes when EXACT is OFF reads as follows:

   If two strings match up to the point where one or the other is
   exhausted, then they are considered equal.

This sentence is incorrect; it should read as follows:

   If the strings match up to the point where the second string
   becomes exhausted, they are considered equal.

The sentence that describes when EXACT is ON reads as follows:

   Strings must match character for character and be of the same
   length to be considered equal.

This sentence is incorrect; it should read as follows:

   Strings must match character for character and be of the same
   length, however strings with different numbers of trailing blanks
   will be considered equal.

   For example: "HI = "HI " is .T. and "HI " = "HI" is .T. with EXACT
   SET ON.

The SET EXACT values are explained correctly in the second paragraph of the "String Comparisons" section and in the examples in that section.


Additional reference words: FoxDos 2.00 docerr
KBCategory: kbprg kbdocerr
KBSubcategory:


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.

Last reviewed: April 17, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.