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


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to