Directive (programming): Difference between revisions

Content deleted Content added
Erik9bot (talk | contribs)
Line 20:
 
In [[Perl]], the [[keyword]] "<code>use</code>" can introduce a "pragma", such as <code>use strict;</code> or <code>use utf8;</code>.
 
In [[Visual Basic]], the statement "<code>Option Explicit On</code>" instructs the VB compiler to require all variable declarations before use. There are also a few other variations to the <code>Option</code> keyword, such as:
* <code>Option Strict On</code> - Requires that implicit type casts are only to wider types.
* <code>Option Compare Binary</code> - Tells the compiler to compare text using a binary algorithm.
* <code>Option Compare Text</code> - Tells the compiler to compare text using a textual algorithm.
 
[[Category:Computer programming]]
[[Category:Articles lacking sources (Erik9bot)]]