Turns code coverage on or off or specifies a text file to which code coverage information is directed.
Syntax
SET COVERAGE TO [FileName [ADDITIVE]]
Arguments
TO FileName
Specifies the name of a text file to which code coverage information is directed. Issue SET COVERAGE TO without a file name to close the text file.
If the file you specify doesn't exist, Visual FoxPro automatically creates and opens it.
ADDITIVE
Appends the code coverage information to the end of the text file specified with FileName. If you omit ADDITIVE, the code coverage information replaces the contents of the text file.
Remarks
You can also set code coverage options in the Coverage dialog box online topic.
For more information about the Visual FoxPro Coverage Profiler, see "Coverage Profiler Application" in Chapter 32, Application Development and Developer Productivity, of the Programmer's Guide.