# Pragma directives and actions in AL
> APPLIES TO: Business Central 2020 release wave 2 and later
## Supported pragma directives
The `#pragma` directive gives the compiler special instructions for the compilation of the file in which it appears. AL supports two pragma instructions. `#pragma warning` supports the disable and restore actions. `#pragma implicitwith` supports the enable, disable, and restore actions.
AL supports the following pragma instructions:
 devenv-directive-pragma-implicitwith
 devenv-directive-pragma-warning
## Related information
Development in AL<../devenv-dev-overview>
AL development environment<../devenv-reference-overview>
Region directive in AL<devenv-directive-region>
devenv-directives-in-al#conditional-directives
Deprecating explicit and implicit with statements<../devenv-deprecating-with-statements-overview>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/directives/devenv-directive-pragma, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/directives/devenv-directive-pragma/
