dBASE Checks Syntax Before Compile

Last reviewed: June 27, 1995
Article ID: Q119690
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, version 2.6
  • Microsoft FoxPro for Windows, version 2.6

SUMMARY

A program that will not compile in dBASE may compile under FoxPro. FoxPro will compile a program that has errors, but will fail at run time when the error is encountered.

MORE INFORMATION

To illustrate the difference between dBASE and FoxPro, do the following:

  1. Create a program with the following command and compile it in dBASE. The compilation will fail with an error.

          SET LIBRARY TO <nonexistent filename>
    

  2. Compile the same file in FoxPro. The error will not appear until the code is executed.

FoxPro was designed to be able to compile and run a program with compilation errors and not fail until a run-time error is generated. dBASE requires that programs compile with no errors before they can be run.


Additional reference words: FoxDos FoxWin 2.60
KBCategory: kbprg
KBSubcategory: FxprgGeneral


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: June 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.