[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Table dot number?
- From: Pierre Chapuis <catwell@...>
- Date: Fri, 21 Oct 2011 11:17:26 +0200
On Fri, 21 Oct 2011 10:58:35 +0200, steve donovan wrote:
That's exactly it, 1 is not a valid identifier, so you cannot use the
sugar that says that t.x == t["x"].
Actually that's really the problem for me, rather than what is allowed
in identifiers.
('t.x == t["x"]'):gsub('x','1')
-- => 't.1 == t["1"]', not 't.1 == t[1]'