lua-users home
lua-l archive

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


A very good point. If that's a problem (and it will be for many
people) then maybe this is something that could be moved to the "standard
user library" that seems to be slowly being developed. That would provide
a reasonable level of standardization for handling new "tags" implemented
this way, allowing the Lua masters time to decide which tags are most
appropriate to move into the language.

  - Tom Wrensch

On Sat, 16 Feb 2002, Steve Dekorte wrote:

> On Saturday, February 16, 2002, at 03:50  PM, Tom Wrensch wrote:
> > If you like, it's easy enough to modify Lua to allow a getn tag
> > method. Here's a Lua implementation:
> Thanks, this is a good idea and I considered it. Unfortunately there's a 
> problem when it come to sharing. For example, if I implemented a getn() 
> as above for the tdbm binding and someone else implemented their own 
> getn() for another binding and you tried to use both libs at the same 
> time, one would over write the other, breaking it. Likewise with next().
> Steve