When running this code:
if file exist("save.txt")=1
open to read 1,"save.txt"
read string 1,str$(gold)
read string 1,str$(maps)
read string 1,str$(keys)
read string 1,str$(secrets)
read string 1,str$(texty)
read string 1,str$(number)
read string 1,str$(speed)
read string 1,str$(gamestart)
read string 1,str$(area)
read string 1,str$(suit)
read string 1,str$(dooropen)
read string 1,str$(windowoff)
read string 1,str$(guard)
gold=val(gold$)
maps=val(maps$)
keys=val(keys$)
secrets=val(secrets$)
texty=val(texty$)
number=val(number$)
speed=val(speed$)
gamestart=val(gamestart$)
area=val(area$)
suit=val(suit$)
dooropen=val(dooropen$)
windowoff=val(windowoff$)
guard=val(guard$)
read string 1,area$
read string 1,setone$
read string 1,settwo$
read string 1,setthree$
read string 1,setfour$
read string 1,setfive$
read string 1,setsix$
read string 1,itemone$
read string 1,itemtwo$
read string 1,itemthree$
read string 1,itemfour$
gosub screen
else
if texty>440 then gosub textfix
set cursor 290,texty
print "The save file does not exist"
texty=texty+20
endif I get runtime error 643 Severe Exception! Why is this and how can I fix it?
Bio Fox...four guys, one computer, games like nobody's business.