lua-users home
lua-l archive

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

Uli Kusterer wrote:

thank you for all the great (and fast!) help. The destructor is now firing as expected, and I've rewritten the __tostring routine to use snprintf(). So, now I can finally start to play with this cool language in a more advanced manner. I'm still impressed how comparatively smoothly Lua integrates with other code. And now on to adding all those methods. Wish me luck!

You're welcome!

As a small additional note: it's possible to write print( aRoom )
instead of print( tostring( aRoom ) ), since print does the
required conversion internally.