I have many units that contain many conditional directive blocks such as:

{$IFDEF DELPHI6ANDLOWER}
  *Do something 1*
{$ELSE}
  *Do something 2*
{$ENDIF}

Now, I decide to drop the support for Delphi 6 (VER140) and the lower versions.

Is there a tool that can do the magic? Hopefully, the above code becomes:

  *Do something 2*

I have tested ModelMaker, CnPack, GExperts, but none of them could do the magic.

Edit
Report