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/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal