SET LOGERRORS Command

See Also

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

Syntax

SET LOGERRORS ON | OFF

Arguments

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.