Partager via


SET LOGERRORS Command

Determine whether to send Visual FoxPro compilation error messages to a text file.

You can use SET LOGERRORSto save compilation error messages to a text file when compiling programs.

SET LOGERRORS ON | OFF

Parameters

  • ON
    Specifies to create a compilation error (.err) file using the same name as the compiled program. (Default)

    If an .err file with the same name exists, it is overwritten.

  • OFF
    Specifies not to create a compilation error (.err) file when compiling a program.

Remarks

Note

If the program compiles without error and an .err file exists with the same name as the compiled program, the .err file is deleted.

See Also

Tasks

How to: View and Save Build Messages

Reference

COMPILE Command

SET Command Overview

SYS(2018) - Error Message Parameter

Other Resources

Commands (Visual FoxPro)

Language Reference (Visual FoxPro)