Hi all,
Say I had a constant declared in a unit...
const
AValue = true;In another unit which uses the above unit, I want to have conditional compilation based on the above constant...
{$IF AValue}
Do something...
{$ELSE}
Do something else...
{$IFEND}I know it's possible in Delphi. But, is it possible in FPC? Using the above construct, I always got an 'Internal error 200501152' message. Is it a bug or something?
FYI I'm using FPC v.2.2.5 on Mac. TIA.
