lua-users home
lua-l archive

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


Ok, I was silly in the last post... :)

Milano

----- Original Message ----- 
From: "J. Perkins" <jason@379.com>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
Sent: Friday, March 22, 2002 5:32 PM
Subject: Re: Index table from string?


> No, I tried that and it gives an "attempt to index nil value" error.
> 'self' isn't valid inside the dostring block.
> 
> Jason
> 
> 
> 
> Milano Carvalho wrote:
> > Excuse-me, I think that only it is sufficient
> >
> > function Registry:getValue(key)
> >   return dostring("return self." .. key)
> > end
> 
> 
> 
>