lua-users home
lua-l archive

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


Hi,
i don't know if that has been proposed before, but i
think it would be usefull to have a tostring tag
method, so that an object that is on the stack returns
the result of the tm if it's defined, and in other
case would return NULL. That would allow to print with
ease info about userdata objects, or for example to
fake constant strings using userdatas.

Ignacio Castaño
castano@asidesoft.com


_______________________________________________________________
Do You Yahoo!?
Yahoo! Messenger
Comunicación instantánea gratis con tu gente.
http://messenger.yahoo.es