Well, I know this is probably yet another basic question, but I have to admit that I have some problems to understand how working with tables.
What I want to do is open a textfile and store every line into a table field. Here is my (none working) code sniplet:
Code: Select all
test = {}
a = 0
OpenFile(1, "Games.txt", #MODE_READ)
While Not Eof(1) do test[a] = (ReadLine(1), a+1)
CloseFile(1)
regards Oliver