Sets compiler options.

Syntax

#pragma <compiler option>

<compiler option>

The compiler option to set.

Description

Use the #pragma to set compiler options. The only option supported in this version of dBASE Plus is:

coverage(ON | OFF)

Enables or disables the inclusion of coverage analysis information in the resulting byte code file.

Coverage analysis provides information about which program lines are executed. To provide coverage analysis, a program file must be compiled to include the extra coverage analysis information.

SET COVERAGE controls whether programs are compiled with coverage information. Use #pragma coverage( ) in your program file to override the SET COVERAGE setting for that particular file.

Note

Do not specify both #pragma coverage(ON) and #pragma coverage(OFF) in the same program file. The last #pragma takes effect; all others are ignored.

For more information about coverage files, see SET COVERAGE.