Saving a high score....

Blitz3D Forums/Blitz3D Beginners Area/Saving a high score....

How would I go about saving a small 2 digit high score? How would I make it so if someone gets a higher score it writes over it?

Make a dedicated file, just write the score there as an integer, read it as an integer whenever you start the program. Do a > check when a new score is acheived.