[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua 5.1 (alpha): table.insert()?
- From: PA <petite.abeille@...>
- Date: Sun, 4 Sep 2005 11:37:37 +0200
Hello,
In Lua 5.1, is there any advantages/differences in using table.insert()
vs using the new length operator directly?
Pre 5.1:
table.insert( aTable, "aValue" )
5.1:
aTable[ #aTable + 1 ] = aValue
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/