lua-users home
lua-l archive

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


On Thu, Feb 28, 2013 at 8:06 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> x={}
> pi=math.pi
> for k=pi,20 do x[k]=k end
> print('{'..table.concat(x)..'}') --> {}
> print('{'..table.concat(x,',',pi,pi+5)..'}') --> ERROR

Very nice example!
But anyway, I'm against adding "integer" data type to Lua. )))