lua-users home
lua-l archive

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


2014-08-18 2:45 GMT+02:00 Thiago L. <fakedme@gmail.com>:

> Ouch... and we don't have a rawtostring()..

That would not help. It's fairly easy to code rawtostring in Lua,
but:

> print(rawtostring( "hello world" ))
bye bye

Reason: "print" calls tostring on every argument even if
it is already a string. io.write is necessary.

I'm adding "print" to my list of things that RLP's (Real Lua
Programmers) do not use.