Compiler directive: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | 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 | 2 | ||
| 3 | - | ||
| 3 | + | ```text | |
| 4 | + | {$DIRECTIVE [value]} | |
| 5 | + | ``` | |
| 4 | 6 | ||
| 5 | 7 | There are two types of directives in use: | |
| 6 | 8 | ||
| 7 | 9 | - [[local compiler directives]] | |
| 8 | 10 | - [[global compiler directives]] | |
| 9 | 11 | ||
| 10 | 12 | --- | |
| 11 | 13 | *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).* |
