Computer Science Canada

Saving Values

Author:  Snicket [ Thu Jun 08, 2006 5:03 pm ]
Post subject:  Saving Values

How does one save a variable to file for later use and still be able to manibulate it. example : a high score chart.

Author:  Cervantes [ Thu Jun 08, 2006 5:13 pm ]
Post subject: 

You can modify the value of a variable even after you write it to a file. It won't, however, update the value in that file. If you later get a new score that should be on the high score list, you need to rewrite to that file.

Author:  Snicket [ Thu Jun 08, 2006 5:18 pm ]
Post subject: 

how does one write it to a file?

Author:  Cervantes [ Thu Jun 08, 2006 5:27 pm ]
Post subject: 

One would go to thine Turing Walkthrough and search for the tutorial on Files Input/Output.


: