[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Table dot number?
- From: "Dimiter \"malkia\" Stanev" <malkia@...>
- Date: Thu, 20 Oct 2011 22:35:39 -0700
On 10/20/11 5:37 PM, Wolfgang Pupp wrote:
If we are already discussing syntax-
I always wondered why
"%i":format(1)
is invalid and needs to be written as
("%i"):format(1)
Would the short form introduce ambiguities? Or is it more one of those
"it just turned out that way"- things?
Just guessing here, but if one allows
"%i":format(i) -- the following should also be allowed:
"%i".format(wellWhatever) -- properly written:
"%i".format("%i", i) -- but it does not matter
as "%i".something is probably ambiguous to the parser,
or maybe left out as someone might accidently forget to put one more
dot when concatenating:
"%i"..format(somethingElse)
There's probably an answer somewhere here in the mailing list, but
not one that can be easily found