This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

dynamic name for a table
#1
Good morning,

I need a suggest how do this:
I would like create some tables but the names must be dynamic, I will try to explain better with an example.

my_table = {}

for i = 1, 10,1 do
   (here i need to create 10 new tables)
end

the result I would like have could be this

my_table_1,  my_table_2, my_table_3,...  my_table_10.

I wish to explain myself.

BR Cristian
Reply


Messages In This Thread
dynamic name for a table - by CristianAgata - 21.12.2025, 11:05
RE: dynamic name for a table - by admin - 21.12.2025, 11:07
RE: dynamic name for a table - by admin - 21.12.2025, 11:37
RE: dynamic name for a table - by admin - Yesterday, 06:18

Forum Jump: