lua-users home
lua-l archive

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

> lua_dostring(state,"_STDOUT = tprint");

This doesn't work, because _STDOUT is a handle. You can't replace a handle
with a function and expect things to work. Like I said before, you have to
redefine print and write. Can I make myself clearer somehow?

-- | humour, n.  unexpected recognition