lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Simply create your own global print function.



On Sat, 11 Sep 2004 14:25:59 +0200, Philippe Fremy <phil@freehackers.org> wrote:
> 
>         Hi,
> 
> Is there any way to override lua's stdout, so that I can control what is
> done with the strings are going to be printed. I would like to override at
> least print().
> 
> I tried by changind io.stdout to a file handle (the python way), but that is
> not working.
> 
>         cheers,
> 
>         Philippe
> 
> ps: please include me in any reply, I am not subscribed anymore
> 
> --
> An open source OS for contactless Smart Cards
> http://www.jayacard.org - Jayacard
> 
> 



-- 
db