lua-users home
lua-l archive

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


* http://www.lua.org/manual/5.0/manual.html#5.1

> tostring (e)
> [...]
> 
> If the metatable of e has a "__tostring" field, tostring calls the
> corresponding value with e as argument, and uses the result of the call
> as its result.

-- Roberto