$IF
From Lazarus wiki
The $IF directive can be used in conditional compilation.
{$IF CompilerVersion >= 20 }
if FHandle = INVALID_HANDLE_VALUE then
{$IFEND}
Directives, definitions and conditionals definitions |
---|
global compiler directives • local compiler directives Conditional Compiler Options • Conditional compilation • Macros and Conditionals • Platform defines |