• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community

how do I create methods for a table of variable size (1 Viewer)

AI_Messiah

Newcomer
Joined
Mar 15, 2021
Messages
9
Reaction score
0
I could find how to do something with a fixed size, but how could I do something like this in Lua script
obj = Array(size)
then get the size into my C++ function to create the table. Then figure how to iterate through the contents in my methods. I also want to make my own custom methods.
 
Top