You can only save numerical arrays, not individual variables. However, all you need to do to solve this is place the value you want to save in an array. Like this...
DIM SAVARR[1]
SAVARR[0]=MONEY
SAVE "DAT:RECORDS",SAVARR
When loading it back up, you also need to use an array. Remember that.
It's pretty much the backwards process of saving it.
First, you would have to declare an array. The array will resize automatically, so you should start the array with size 0. Then, you'd call the LOAD instruction, specifying the declared array. The loaded variables will then be put within the array in the same order as you saved them. You can now recover all the variables you saved.
You have to be wary that trying to load a file that doesn't exist will result in an error. To prevent this, you should check if the file exists with CHKFILE. This instruction returns a boolean value, so you can put it in an IF statement.
Your load block would look like this...
IF CHKFILE("DAT:RECORDS") THEN
DIM LOADARR[0]
LOAD "DAT:RECORDS",LOADARR,FALSE
MONEY=LOADARR[0]
ENDIF
I am working on the fps, just not at the moment. I just released a beta of a game I have been making lately. I am having trouble with the Ai in the fps right now and am trying to figure it out. Thank you, Oscar, it worked and I have released the beta to this game :D