$IF

From Lazarus wiki
Revision as of 10:02, 14 October 2013 by Jwdietrich (talk | contribs) (Link fixed.)
Jump to navigationJump to search

The $IF directive can be used in conditional compilation

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