lua-users home
lua-l archive

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


>IMHO, {{f(x)}} is easier and more clearly than {(f(x))} .

But of course they *mean* something different:

	function f(x) return 1 end
	a={{f(x)}}
	b={(f(x))}
	print(a[1],b[1])
	>>> table: 37a98    1

--lhf