Directive (programming): Difference between revisions

Content deleted Content added
Valaggar (talk | contribs)
m fixed "exemplo gratia" usage
No edit summary
Line 12:
One notable C preprocessor directive is <code>[[pragma once|#pragma once]]</code>, which instructs the compiler to include the current source file only once, making it effectively [[idempotent]], and providing an alternative in C and C++ to [[include guard|#include guards]].
-->
Syntactic constructs similar to C's preprocessor directives, such as [[C Sharp (programming language)|C#]]'s <code>#region</code>, are also typically called "directives", although in these cases there may not be any real preprocessing phase involved.
 
==In other high-level languages==