[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Case insensitive global
- From: "Peter Prade" <prade@...>
- Date: Wed, 13 Mar 2002 20:22:33 +0100
Of course you could set tagmethods to make lua treat global variables case
insensitive.
(this won't work with locals though)
Cheers,
Peter
> -----Original Message-----
> From: owner-lua-l@tecgraf.puc-rio.br
> [mailto:owner-lua-l@tecgraf.puc-rio.br]On Behalf Of Luiz Henrique de
> Figueiredo
> Sent: Wednesday, March 13, 2002 7:41 PM
> To: Multiple recipients of list
> Subject: Re: Case insensitive global
>
>
> >I am using lua_setglobal to set a global userdata with
> >associated tag methods, etc... It only works if it is
> >accessed with the exact case/capitalization as defined.
> >
> >Other variables are not like this, so I am wondering
> >if it is possible to make globals act the same.
>
> Lua is case-sensitive. *All* variable names depend on capitalization.
> --lhf