Re: Case insensitive global
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Case insensitive global
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2002年3月14日 10:11:00 -0300 (EST)
>Ok, so what does the settagmethod on the global/default tag look like?
settagmethod(tag(nil),"getglobal",
function (x)
local y=strlower(x)
if x==y then return nil else return getglobal(y) end
end)
PRINT(PRINT)
--lhf