Pragma directive in AL

APPLIES TO: Business Central 2020 release wave 2 and later

Pragma

The #pragma directive gives the compiler special instructions for the compilation of the file in which it appears. The #pragma directive has many actions that can be used with the pragma instructions in the following sections, which are disable, restore, and enable.

AL supports the following pragma instructions:

See Also

Development in AL
AL development environment
Region directive in AL
Conditional directives
Deprecating explicit and implicit with statements