FIX: BAR() Returns Value 1 Less Than Version 1.02

Last reviewed: September 22, 1997
Article ID: Q88957
2.00 MS-DOS kbprg kbfixlist kbbuglist

The information in this article applies to:

  • Microsoft FoxPro for MS-DOS, version 2.0

SYMPTOMS

The BAR() function returns a value 1 less than it does in FoxPro 1.02 for MS-DOS.

STATUS

Microsoft has confirmed this to be a problem in Microsoft FoxPro version 2.0 for MS-DOS. This problem was corrected in Microsoft FoxPro version 2.0 for MS-DOS dated November 15, 1991.

MORE INFORMATION

The following sample code demonstrates the problem:

   DEFINE POPUP test FROM 1,1 PROMPT STRUCTURE
   ON SELECTION POPUP test ? BAR(),PROMPT()
   ACTIVATE POPUP test

In version FoxPro 1.02 for MS-DOS, the BAR() function returns the value 1 for the first bar in a popup. In FoxPro 2.0, it returns the value 0. This function was changed to behave as in it does FoxPro 1.02 for MS-DOS.


Additional reference words: FoxDos buglist2.00 fixlist2.00 2.00
KBCategory: kbprg kbfixlist kbbuglist
KBSubcategory:
Solution Type : kbfix


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: September 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.