save and load sequences ??

new topic     » topic index » view thread      » older message » newer message

Hi Folks

 Ive got a game almost done but Im
trying to add running score that saves to disk file.

 I want to use the following sequence for my scores:

sequence TopTen
TopTen = repeat({"NoName", 0} ,10)--This will be what it starts out with

Ive been able to save it to disk
but reading it back has been a challenge for me.
Ive been saving it as a text file and reading it like such.
for x = 1 to 10
TopTen[x][1]  --The text comes up fine
TopTen[x][2]  --but the numbers dont come out right
end for

I read and tried to understand The mydata.ex file
in the Demo directory but it is hard for me to follow.

 Any help here would be appreciated.

    Thank you
      Gene

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu