lua-users home
lua-l archive

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


> I think there was a huge missed opportunity here. [] actually looks like a
> table!

It was like that in Lua 1:
	a = @f[ 10, 20, 30]
was the same as
	t = { 10, 20, 30 }
	f(t)
	a = t
See
	https://www.lua.org/ftp/refman-1.1.ps.gz
	https://www.lua.org/semish94.html
	section "Data types and variables"