I made a saving thing for my game but it keeps saying "runtime error 118..."
could anyone tell me what is wrong with my code
_check:
if file exist("data\567_233.arr")=1
load array "data\567_233.arr",save()
charobj=save(0)
posx=save(1) : posy=save(2) : zone=save(3)
lives=save(4)
flees=save(5) : wins=save(6) : deaths=save(7) : overdrive=save(8)
else
dim save(9)
save(0)=1 : save(5)=0
save(1)=250 : save(6)=0
save(2)=-250 : save(7)=0
save(3)=4 : save(8)=0
save(4)=1 : save(9)=0
save array "data\567_233.arr",save()
undim save()
goto _check
endif
-------------------------------------------
----- HTTP://WWW.CRETINOUS.TK -----
-------------------------------------------