LastExceed Expert Cheater Reputation: 1
Joined: 05 Nov 2014 Posts: 130
|
Posted: Sun Jan 31, 2016 3:52 pm Post subject: I want to create a table of stuff and save it as a file |
|
|
Right now I using a 2 dimensional array where i store all my strings/integers/whateverjustallmystuff:
Code: | Table = {}
for i=0,5 do
Table[i] = {}
end
Table[2][3] = 'CheatEngine is the best' --sample for how i insert my stuff later on |
and now I want to save and load the table as a file, but I have no idea how to deal with save/load dialogs.
I read somewhere that a stringlist would be better in this case, but I also wasn't able to find out anything about that (what stringlists are, how they work ect)
So can somebody give me some basic sample code where you
first create a table of whatever kind (arrays/stringlist/something else)
then insert a string
then save it as a file
then load that file
and then call that string and use it for showMessage()
because I'm pretty clueless right now... |
|