[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to make table object has the shortcut ability as string
- From: Steve Litt <slitt@...>
- Date: Wed, 12 Jan 2011 23:44:42 -0500
On Wednesday 12 January 2011 21:33:27 Javier Guerra Giraldez wrote:
> On Wed, Jan 12, 2011 at 9:31 PM, Tang Daogang <daogangtang@gmail.com> wrote:
> > But I want to write
> > a:remove(2)
>
> setmetatable (a, {__index=table})
Oh man I'm really going to have to learn metatables.
Does any of you live in Central Florida? Maybe we can start a Lua User's
Group.
SteveT
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt