lua-users home
lua-l archive

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


> I have not yet seen an implementation that is acceptable to The Lua
> Way, so for now I live with the limitation and program around it by
> using table.concat() when necessary.

If you are willing to be a little more verbose, you can write this,
with some metatable magic:

	local s=String""
	for i=0,30000 do
		s=s..i
	end
	print(s:value())

See also http://lua-users.org/wiki/LuaRopes