Difference between revisions of "Compiler directive"
From Lazarus wiki
Jump to navigationJump to search (Created page with "{{Compiler directive}} A compiler directives give instructions to the compiler to preprocess the information before actual compilation starts. All these directi...") |
|||
Line 1: | Line 1: | ||
{{Compiler directive}} | {{Compiler directive}} | ||
− | A [ | + | A [http://freepascal.org/docs-html/current/prog/progch1.html#x5-40001 compiler directives] 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)]]. | 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: | The compiler directive is always specified as a [[Comments|comment]] using curly braces: |
Latest revision as of 11:56, 29 June 2019
│
English (en) │
suomi (fi) │
A compiler directives give instructions to the compiler to preprocess the information before actual compilation starts. All these directives begin with a $ (dollar sign ) immediately following the opening { (Left curly bracket). The compiler directive is always specified as a comment using curly braces:
{$DIRECTIVE [value]}
There are two types of directives in use: