Directive (programming): Difference between revisions

Content deleted Content added
Merged from Compiler directive
m In other high-level languages: Perl info, from Google (Experts, please?)
Line 22:
In [[Turbo Pascal]], directives are called '''significant comments''', because in the language [[grammar]] they follow the same syntax as [[comment (computer programming)|comment]]s. 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 <code>#include "file"</code> directive is the significant comment <code>{$I "file"}</code>.
 
In [[Perl]], the construct[[keyword]] "<code>use</code>" introduces a "pragma", such as <code>use strict;</code> isor <code>use utf8;</code>. This construct may sometimes be referred to as a "directive".{{fact|date=May 2007}} However, a few sources[http://help.yahoo.com/help/us/geo/perl/perl-02.html] use the term "Perl directive" to refer to the [[hashbang]] construct.
 
[[de:Compiler-Anweisung]]