Compiler directive: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Compiler directive
| Old | New | Line | |
|---|---|---|---|
| 1 | + | A [compiler directives](http://freepascal.org/docs-html/current/prog/progch1.html#x5-40001) give instructions to the [[Compiler|compiler]] to preprocess the information before actual compilation starts. All these directives begin with a [[Dollar sign|$ (dollar sign )]] immediately following the opening [[Left curly bracket|{ (Left curly bracket)]]. The compiler directive is always specified as a [[Comments|comment]] using curly braces: | |
| 2 | + | ||
| 3 | + | ` {$DIRECTIVE [value]} ` | |
| 4 | + | ||
| 5 | + | There are two types of directives in use: | |
| 6 | + | ||
| 7 | + | - [[local compiler directives]] | |
| 8 | + | - [[global compiler directives]] | |
| 9 | + | ||
| 10 | + | --- | |
| 11 | + | *From the Free Pascal wiki, page "Compiler directive", as it stood on 2019-06-29 after a change by Djzepi, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
