[Lazarus] WriteLn back to the GUI

Sven Barth pascaldragon at googlemail.com
Wed Oct 23 20:47:48 CEST 2013


On 23.10.2013 18:30, leledumbo wrote:
> If I understood correctly, you want to override the meaning of WriteLn (for
> programs and units using globals.pas), right? In that case, just create
> Write(Ln) procedure in globals unit. That will override the system unit one.
> However, you can't have the one with variable number of arguments, at least
> not in the system unit style one. Here's a compilable example:

I've understood it in such a way that he means 
$fpc/compiler/globals.pas... Which would be the wrong way in multiple 
ways ^^

Regards,
Sven





More information about the Lazarus mailing list