Hello!
I have a table, for example Test = {}
and I filled it with images.
Test[1] = img1
Test[2] = img2
Test[3] = img3
In some cases I want to delete the img1 and I want to shift another images to the beginning of the table/array or reindex this table:
Table[1] = img2
Table[2] = img3
Table[3] must be empty.
I know, I can do it with a loop with code which is rewrite this array.
But maybe lua have the standart way for deleting the item and automatically shifting them to start or reindexing table [import]uid: 106224 topic_id: 31420 reply_id: 331420[/import]