Directive (programming): Difference between revisions

Content deleted Content added
Undid revision 196258188 by 125.16.230.27 (talk)
link to pragmatic information
Line 15:
 
==In other high-level languages==
In [[Ada (programming language)|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 [[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>.