|
Article on other languages:
|
In computer programming, the term directive is applied in a variety of ways that are similar to the term command, it is also used to describe some programming language constructs (e.g. those specifying how a compiler or assembler should process its input). Assembly languageIn assembly language, directives generally specify such information as the target platform, mark the separations between sections, and so on. For instance, the commonly seen directive "ALIGN", which inserts in the current section as many bytes as needed to preserve word-alignment, is generally referred to as a "directive", despite the fact that it does correspond to a particular construct in the generated code. The C preprocessorIn C and C++, the language supports a simple macro preprocessor. Source lines that should be handled by the preprocessor, such as Syntactic constructs similar to C's preprocessor directives, such as C#'s In other high-level languagesIn Ada, compiler directives are called pragmas (short for "pragmatic information"). In Turbo Pascal, directives are called significant comments, because in the language grammar they follow the same syntax as comments. In Turbo Pascal, a significant comment is a comment whose first character is a dollar sign and whose second character is a letter; for example, the equivalent of C's In Perl, the keyword " |
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.
Mercedes Car
This site monitored by SitePinger.net