lua-users home
lua-l archive

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


	Hi

What do you mean?

On 30.04.2010 19:01, Tomas Guisasola Gorham wrote:
>  Also, "false" would be transformed to "nil":
> > Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> >  =tostring( false or nil )
>  nil
     But your test isn't fair:

 Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio
>  =tostring(nil or false)
 false

	I mean "false" is NOT transformed to "nil" by tostring().
It is transformed to nil by your expression :-)

	Regards,
		Tomás