Microsoft KB Archive/119690

{| = dBASE Checks Syntax Before Compile =
 * width="100%"|

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 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
 * }