[lazarus] Win32 Installer/Lazarus

Curtis White osiriz at teleport.com
Tue Jul 20 21:18:19 EDT 1999



On 20-Jul-99 Michael A. Hess wrote:
>> 2. Use the macro feature of fpc
> 
> NOW THIS IDEA I LIKE!
> 
> Here is what we could do.
> 
> {$define DEBUGOUT:=debug.write}
> 
> Then anyplace in the code put code
> 
> DEBUGOUT ('whatever trace information you want');
> 
> Then when you don't want debug you just need to redefine the macro to be
> 
> {$define DEBUGOUT:=//}
> 
> The the code becomes
> 
> // ('whatever trace information you want');
> 
> What does everyone think about this???
> 

Excellent idea. I forgot all about the macro features of the compiler. Sheesh,
that provides a lot of power and flexibility. This is really good. This has my
vote.


Curtis






More information about the Lazarus mailing list