Quote Originally Posted by Legolas
Yes, you can
Something like this should do the trick
[code=pascal]
{$define MyDebug}

{$ifdef MyDebug}
writeln('Debugging...');
{$endif}
[/code]

Look also at http://community.freepascal.org:1000...l#x106-1060002
Thanks. The info on that link (+ ifdefs) seem oh-so-helpful. But, currently I really only needed/wanted the ifdefs but I'm sure I'll have a use for the others in the future.