Adriano Frare wrote:
Dear Friends
I am testing example program procoutlarge on
http://wiki.lazarus.freepascal.org/index.php/Executing_External_Programs
but when execute LINE
WriteLn('-- executing --');
The program abort.
Is this a Windows computer? Run this from a command prompt and it won't
happen. There's no console to output your writeln to, so it crashes.
I believe the better way to do it is
DebugLn('-- executing --');
This will work (or at least not crash) regardless of an existing console.
-Tony Maro
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives