FIX: LOAD Command with FUNCTION Clause Gives Error in FoxPro

Last reviewed: November 6, 1997
Article ID: Q120695
2.60 | 2.60 MS-DOS | WINDOWS kbprg kbfixlist kbbuglist kberrmsg

The information in this article applies to:

  • Microsoft FoxPro for MS-DOS, version 2.6
  • Microsoft FoxPro for Windows, version 2.6

SYMPTOMS

If you use the LOAD command with the optional FUNCTION clause in FoxPro for MS-DOS or Windows, you will get an "Unrecognized phrase/keyword in command" error message when you try to compile this line of code. The FUNCTION clause was added to FoxPro for Macintosh so that it can to load external functions, and is for use only in FoxPro for Macintosh.

RESOLUTION

Make sure that you are not trying to compile code under MS-DOS or Windows that contains the FUNCTION clause of the LOAD command.

STATUS

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


Additional reference words: FoxDos FoxWin 2.60 buglist2.60 fixlist2.60a
errmsg
KBCategory: kbprg kbfixlist kbbuglist kberrmsg
KBSubcategory: FxprgGeneral
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: November 6, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.