SET EXACT Commands Documented Incorrectly

ID: Q88280

The information in this article applies to:

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:

Last Reviewed: April 17, 1995