[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Representing XML in tables
- From: RLake@...
- Date: Fri, 4 Jul 2003 10:40:27 -0500
> Unluckily you chose the one value that cannot be used to index a table.
> nil cannot be used to index a table.
I was hoping someone would say that :)
> But you could create a nonce and use that.
Indeed. But even less profligate would be to use the table's metatable
slot.
That's just sitting there occupying space if it is not used. And it
actually
perfectly captures the concept of tagtype.