lua-users home
lua-l archive

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


On Sat, Sep 11, 2004 at 03:10:38PM +0200, Philippe Fremy wrote:
> On Saturday 11 September 2004 14:57, David Burgess wrote:
> > Simply create your own global print function.
> >
> 
> That's the simple workaround indeed. Are there any other functions that 
> might print something on stdout or stderr, which I should divert too ?

There's io.write and io.flush.

A better solution would be to use io.output(FILEHANDLE) to set the
output file globally.

-- Jamie Webb