Difference between revisions of "$IF"

From Lazarus wiki
Jump to navigationJump to search
(Created page with "The $IF directive can be used is conditional compilation <code> {$IF CompilerVersion >= 20 } if FHandle = INVALID_HANDLE_VALUE then {$IFEND} </code>")
 
Line 1: Line 1:
The $IF directive can be used is [[conditional compilation]]
+
The $IF directive can be used in [[conditional compilation]]
  
 
<code>
 
<code>

Revision as of 00:03, 14 October 2013

The $IF directive can be used in conditional compilation

{$IF CompilerVersion >= 20 }
   if FHandle = INVALID_HANDLE_VALUE then
{$IFEND}