firstCrate = #allCrates[1]
firstCrate.myName = "crate1"
attempt to index global ‘firstCrate’ (a number value)
Can someone explain why, and how to overcome this error, please.
I need to reference the item in the table this way to check for a collision.
[import]uid: 68741 topic_id: 13708 reply_id: 313708[/import]
[import]uid: 3826 topic_id: 13708 reply_id: 50372[/import]