[Lazarus] writeln to stdout in windows?

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Tue Jul 29 18:00:08 CEST 2008


The usual solution for this is doing like this:

{$ifdef Debug}
  {$apptype console}
{$endif}

{$ifdef Debug}
  WriteLn(....);
{$endif}

If you want to see the writelns you build with Debug defined.

-- 
Felipe Monteiro de Carvalho



More information about the Lazarus mailing list