On Sat, Apr 6, 2013 at 12:08 AM, Sven Barth <pascaldra...@googlemail.com> wrote: > Am 05.04.2013 14:52, schrieb Kostas Michalopoulos: >> {$PUSH}{$WARN 5024 OFF} >> // Code where you dont want to get warnings about unused parameters >> {$POP} >> (you can put the push at the top of the implementation part of a unit and >> you wont get warnings for the rest of that unit) >> > Originally I wanted to suggest this as well, but it does not allow you to > specifically select which parameters to ignore. Though this will depend on > whether the user wants to generally disable the message or only disable for > selected functions or specific parameters... >
True. It is also much less readable. -- Alexander S. Klenin -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus