Martin wrote on Wed, 08 Aug 2012:

On 08/08/2012 15:55, Jonas Maebe wrote:
{$macro on}
{$ifdef debugmsg}
{$define CallSendDebug:=SendDebug}
{$else}
{$define CallSendDebug:=//}
{$endif}

CallSendDebug('|');

Yes I have seen that, and even the macro for continues lines (if params wrap)
But it needs to be declared in each unit (or in an include).

The alternative has to be declared on each debug line...


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to