[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: nul codes in lines
- From: Gavin Wraith <gavin@...>
- Date: Tue, 10 Jul 2007 15:20:58 +0100
In message <20070710105939.A20733@lua.tecgraf.puc-rio.br> 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
Thanks for the replies. I think I have understood why I was getting
the results I got.
Gavin Wraith (email@example.com)
Home page: http://www.wra1th.plus.com/