Pragma Directive in AL

APPLIES TO: Business Central 2020 release wave 2 and later


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 below, 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