lua-users home
lua-l archive

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


I know it's probably too late for 5.1, but it would be handy for some cases if table.insert() returned the insertion index (ie when inserting at the end of the table). I know the (new) length operator will give me the new last index, but.. the insert function alredy knows the insertion point.

Adrian