Sign in Join
Wiki copytemporary

Compiler directive: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11A [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:
22
3-` {$DIRECTIVE [value]} `
3+```text
4+ {$DIRECTIVE [value]}
5+```
46
57There are two types of directives in use:
68
79- [[local compiler directives]]
810- [[global compiler directives]]
911
1012---
1113*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).*

Back to history