Caducus
|
  |
| Joined: 29 May 2014 |
| Total Posts: 827 |
|
|
| 10 Aug 2015 07:17 PM |
I want my table that has a lot of data in it to be "rewritten".
Is there a way to clear all the data in a table, so new data can be added? |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 10 Aug 2015 07:19 PM |
local tab{}
tab = nil
or
for i,v in next, tab do if thing == v then table.remove(tab,i) end end
"Talk is cheap. Show me the code." - Linus Torvalds |
|
|
| Report Abuse |
|
|
Caducus
|
  |
| Joined: 29 May 2014 |
| Total Posts: 827 |
|
|
| 10 Aug 2015 07:20 PM |
| Thanks so much... Idk why I am asking such dumb questions. |
|
|
| Report Abuse |
|
|