Difference between revisions of "$IF/ru"
From Free Pascal wiki
Jump to navigationJump to search (Created page with "{{$IF}} Директива компилятора <code>$IF</code> в условной компиляции. <syntaxhighlight> // директ...") |
m (Fixed syntax highlighting) |
||
Line 3: | Line 3: | ||
Директива компилятора <code>$IF</code> в [[Conditional compilation/ru|условной компиляции]]. | Директива компилятора <code>$IF</code> в [[Conditional compilation/ru|условной компиляции]]. | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang=pascal> |
// директива pointermath отсутствовала в версиях FPC до 3.0.0 | // директива pointermath отсутствовала в версиях FPC до 3.0.0 | ||
{$if FPC_VERSION > 2} | {$if FPC_VERSION > 2} |
Latest revision as of 07:40, 1 February 2020
│
Deutsch (de) │
English (en) │
français (fr) │
русский (ru) │
Директива компилятора $IF
в условной компиляции.
// директива pointermath отсутствовала в версиях FPC до 3.0.0
{$if FPC_VERSION > 2}
// арифметика указателей это плохо. очень плохо
{$pointermath off}
{$endif}
Directives, definitions and conditionals definitions |
---|
global compiler directives • local compiler directives Conditional Compiler Options • Conditional compilation • Macros and Conditionals • Platform defines |