Directive (programming): Difference between revisions

Content deleted Content added
uncited.
Line 20:
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 [[keyword]] "<code>use</code>" can introduce a "pragma", such as <code>use strict;</code> or <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.
 
[[Category:Computer programming]]