lua-users home
lua-l archive

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


On 9/17/12, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
>  print(3....5)
> (That is also a number followed by '..' followed by a number.)

IMHO, such ambiguity should be resolved in favor of integer numbers,
because integers are used far more frequently.
3..5 = 3|..|5
3...5 = 3|..|.5
3....5 = 3|..|..|5 = error