dBASE Checks Syntax Before Compile

ID: Q119690

The information in this article applies to:

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

Last Reviewed: June 27, 1995