lua-users home
lua-l archive

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

In message <> you wrote:

> > print() uses lua_tostring(), which treats string as asciiz one.
> Not exactly. print() uses fputs(), which assumes zero-terminated strings.
> print is mostly for debugging. if you want nicer output, use
> string.format("%q",...).

Thanks for the replies. I think I have understood why I was getting
the results I got.

Gavin Wraith (
Home page: