Pragmatic directives: Difference between revisions

Content added Content deleted
(Added PureBasic)
Line 726: Line 726:


=={{header|PureBasic}}==
=={{header|PureBasic}}==
PureBasic supports several pragmatic directives, also known as '''compiler directives'''.
PureBasic supports several pragmatic directives, also known as '''[https://www.purebasic.com/documentation/reference/compilerdirectives.html compiler directives]'''.


<code>CompilerIf…CompilerElseIf…CompilerElse…CompilerEndIf</code>: allows certain parts of the code to be compiled depending on the evaluation of a constant expression.
<code>CompilerIf…CompilerElseIf…CompilerElse…CompilerEndIf</code>: allows certain parts of the code to be compiled depending on the evaluation of a constant expression.