lua-users home
lua-l archive

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


Am 28.02.2013 um 09:35 schrieb Egor Skriptunoff <egor.skriptunoff@gmail.com>:

> 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. )))
> 


Since I do a lot of database programming in Lua, I would very much welcome an integer data type.  But I can live with the status quao just well.