[fpc-pascal] $IF documentation - missing help

Graeme Geldenhuys graemeg at opensoft.homeip.net
Tue Sep 15 13:26:07 CEST 2009


Hi,

Where is the extended $IF directive documented. The prog.pdf has 2
paragraphs on $if and then referes you to the "conditionals" section.
But the Conditionals section is incomplete.

I look through all these docs...
prog.pdf  ref.pdf  user.pdf

What I am looking for is something I used years ago, but can't find an
example of it now. I can't remember the exact syntax, but is was
something like this:

{$IFDEF FPC $IF Defined(VER2_3) or ....)
  ...
{$ENDIF}

Due to the mishaps with UnicodeString in FPC 2.3.1, I need to IFDEF some
tiOPF code so that certain code will only work with FPC 2.2.5 and
earlier, and other code will only work with FPC 2.3.1 and greater. How
do I write this?


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-pascal mailing list