SET LOGERRORS Command

Determines whether Visual FoxPro sends compilation error messages to a text file.

SET LOGERRORS ON | OFF

Parameters

  • ON
    (Default) Specifies that a compilation error message log file be created with the same name as the compiled program and an .err extension. If a log file with the same name already exists, it is overwritten.
  • OFF
    Specifies that a compilation error message log file is not created when a program is compiled.

Remarks

Use SET LOGERRORS to save compilation error messages to a text file when programs are compiled.

If a log file exists with the same name as the compiled program, and if the program compiles without error, the log file is deleted.

See Also

COMPILE | SYS(2018) - Error Message Parameter | SET CPDIALOG Command