FIX: Missing #IF or #ENDIF Causes a Hang or "Unknown Error"

Last reviewed: September 22, 1997
Article ID: Q104348
2.50 MS-DOS kbprg kbfixlist kbbuglist kberrmsg

The information in this article applies to:

  • Microsoft FoxPro for MS-DOS, version 2.5

SYMPTOMS

If the preprocessor directive #IF is missing from a program, compiling the program causes the following error message:

   Alert message = "Unknown error code 723"

If the preprocessor directive #ENDIF is missing, compiling the program causes one of the following conditions:
  • The FoxPro error message: Alert message = "Unknown error code 724"

    -or-

  • The computer hangs, sometimes displaying the following truncated error message:

          bnormal program termination: Memory protection fault
    

STATUS

Microsoft has confirmed this to be a problem in FoxPro 2.5 for MS-DOS. This problem was corrected in FoxPro 2.5a for MS-DOS.

MORE INFORMATION

The expected error message when the #IF preprocessor directive is missing is:

   Unrecognized command verb

The expected error message when the #ENDIF preprocessor directive is missing is:

   Missing #endif


Additional reference words: FoxDos 2.50 buglist2.50 fixlist2.50a compile
compiled abnormal errmsg err msg 2.50a
KBCategory: kbprg kbfixlist kbbuglist kberrmsg
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.