_mainmenu:
OpenToWrite ( 1, "dovey.txt", 0 )
WriteInteger ( 1, teamengper )
writeinteger ( 1, teamengrel )
writeinteger ( 1, teamengwor )
WriteInteger ( 1, teamdrv1spe )
writeinteger ( 1, teamdrv1exp )
writeinteger ( 1, teamdrv1ovr )
WriteInteger ( 1, teamdrv1tys )
writeinteger ( 1, teamdrv1wet )
writeinteger ( 1, teamdrv1att )
WriteInteger ( 1, teamdrv1mor )
writeinteger ( 1, teamdriver1wag )
writeinteger ( 1, teamdriver1cwins )
WriteInteger ( 1, teamdriver1titles )
WriteInteger ( 1, teamdrv2spe )
writeinteger ( 1, teamdrv2exp )
writeinteger ( 1, teamdrv2ovr )
WriteInteger ( 1, teamdrv2tys )
writeinteger ( 1, teamdrv2wet )
writeinteger ( 1, teamdrv2att )
WriteInteger ( 1, teamdrv2mor )
writeinteger ( 1, teamdriver2wag )
writeinteger ( 1, teamdriver2cwins )
WriteInteger ( 1, teamdriver2titles )
writeinteger ( 1, trainerdaysleft )
writeinteger ( 1, mechanicdaysleft )
writeinteger ( 1, designerdaysleft )
writeinteger ( 1, pitcrewskill )
writeinteger ( 1, trainersstafflevel )
writeinteger ( 1, mechanicsstafflevel )
writeinteger ( 1, designerstafflevel )
writeinteger ( 1, developkers )
writeinteger ( 1, money )
writeinteger ( 1, exrelskill )
writeinteger ( 1, surelskill )
writeinteger ( 1, trrelskill )
writeinteger ( 1, bsrelskill )
writeinteger ( 1, afb )
writeinteger ( 1, designerdaysleft )
writeinteger ( 1, mechanicdaysleft )
writeinteger ( 1, trainerdaysleft )
WriteString ( 1, teamname$ )
WriteString ( 1, teamengine$ )
WriteString ( 1, teamdriver1$ )
WriteString ( 1, teamdriver1nat$ )
WriteString ( 1, teamdriver2$ )
WriteString ( 1, teamdriver2nat$ )
writestring ( 1, driver1name$ )
writestring ( 1, driver2name$ )
writestring ( 1, driver3name$ )
writestring ( 1, driver4name$ )
writestring ( 1, driver5name$ )
writestring ( 1, driver6name$ )
writestring ( 1, driver7name$ )
writestring ( 1, driver8name$ )
writestring ( 1, driver9name$ )
writestring ( 1, driver10name$ )
writestring ( 1, driver11name$ )
writestring ( 1, driver12name$ )
writestring ( 1, driver13name$ )
writestring ( 1, driver14name$ )
writestring ( 1, driver15name$ )
writestring ( 1, driver16name$ )
writestring ( 1, driver17name$ )
writestring ( 1, driver18name$ )
writestring ( 1, driver19name$ )
writestring ( 1, driver20name$ )
writestring ( 1, driver21name$ )
writestring ( 1, driver22name$ )
writestring ( 1, driver23name$ )
writestring ( 1, driver24name$ )
writestring ( 1, driver25name$ )
writestring ( 1, driver26name$ )
writestring ( 1, driver1team$ )
writestring ( 1, driver2team$ )
writestring ( 1, driver3team$ )
writestring ( 1, driver4team$ )
writestring ( 1, driver5team$ )
writestring ( 1, driver6team$ )
writestring ( 1, driver7team$ )
writestring ( 1, driver8team$ )
writestring ( 1, driver9team$ )
writestring ( 1, driver10team$ )
writestring ( 1, driver11team$ )
writestring ( 1, driver12team$ )
writestring ( 1, driver13team$ )
writestring ( 1, driver14team$ )
writestring ( 1, driver15team$ )
writestring ( 1, driver16team$ )
writestring ( 1, driver17team$ )
writestring ( 1, driver18team$ )
writestring ( 1, driver19team$ )
writestring ( 1, driver20team$ )
writestring ( 1, driver21team$ )
writestring ( 1, driver22team$ )
writestring ( 1, driver23team$ )
writestring ( 1, driver24team$ )
writestring ( 1, driver25team$ )
writestring ( 1, driver26team$ )
writestring ( 1, team1name$ )
writestring ( 1, team2name$ )
writestring ( 1, team3name$ )
writestring ( 1, team4name$ )
writestring ( 1, team5name$ )
writestring ( 1, team6name$ )
writestring ( 1, team7name$ )
writestring ( 1, team8name$ )
writestring ( 1, team9name$ )
writestring ( 1, team10name$ )
writestring ( 1, team11name$ )
writestring ( 1, team12name$ )
writestring ( 1, team13name$ )
writestring ( 1, winner1name$)
writestring ( 1, winner2name$)
writestring ( 1, winner3name$)
writestring ( 1, winner4name$)
writestring ( 1, winner5name$)
writestring ( 1, winner6name$)
writestring ( 1, winner7name$)
writestring ( 1, winner8name$)
writestring ( 1, winner9name$)
writestring ( 1, winner10name$)
writestring ( 1, winner11name$)
writestring ( 1, winner12name$)
writestring ( 1, winner13name$)
writestring ( 1, winner14name$)
writestring ( 1, winner15name$)
writestring ( 1, winner16name$)
CloseFile ( 1 )
thats the writing part
_dove3:
opentoread (1, "dovey.txt")
teamengper=readinteger (1)
teamengrel=readinteger (1)
teamengwor=readinteger (1)
teamdrv1spe=readinteger (1)
teamdrv1exp=readinteger (1)
teamdrv1ovr=readinteger (1)
teamdrv1tys=readinteger (1)
teamdrv1wet=readinteger (1)
teamdrv1att=readinteger (1)
teamdrv1mor=readinteger (1)
teamdriver1wag=readinteger (1)
teamdriver1cwins=readinteger (1)
teamdriver1titles=readinteger (1)
teamdrv2spe=readinteger (1)
teamdrv2exp=readinteger (1)
teamdrv2ovr=readinteger (1)
teamdrv2tys=readinteger (1)
teamdrv2wet=readinteger (1)
teamdrv2att=readinteger (1)
teamdrv2mor=readinteger (1)
teamdriver2wag=readinteger (1)
teamdriver2cwins=readinteger (1)
teamdriver2titles=readinteger (1)
trainerdaysleft=readinteger (1)
mechanicdaysleft=readinteger (1)
designerdaysleft=readinteger (1)
pitcrewskill=readinteger (1)
trainersstafflevel=readinteger (1)
mechanicsstafflevel=readinteger (1)
designerstafflevel=readinteger (1)
developkers=readinteger (1)
money=readinteger (1)
exrelskill=readinteger (1)
surelskill=readinteger (1)
trrelskill=readinteger (1)
bsrelskill=readinteger (1)
afb=readinteger (1)
designerdaysleft=readinteger (1)
mechanicdaysleft=readinteger (1)
trainerdaysleft=readinteger (1)
teamname$=readstring (1)
teamengine$=readstring (1)
teamdriver1$=readstring (1)
teamdriver1nat$=readstring (1)
teamdriver2$=readstring (1)
teamdriver2nat$=readstring (1)
driver1name$=readstring (1)
driver2name$=readstring (1)
driver3name$=readstring (1)
driver4name$=readstring (1)
driver5name$=readstring (1)
driver6name$=readstring (1)
driver7name$=readstring (1)
driver8name$=readstring (1)
driver9name$=readstring (1)
driver10name$=readstring (1)
driver11name$=readstring (1)
driver12name$=readstring (1)
driver13name$=readstring (1)
driver14name$=readstring (1)
driver15name$=readstring (1)
driver16name$=readstring (1)
driver17name$=readstring (1)
driver18name$=readstring (1)
driver19name$=readstring (1)
driver20name$=readstring (1)
driver21name$=readstring (1)
driver22name$=readstring (1)
driver23name$=readstring (1)
driver24name$=readstring (1)
driver25name$=readstring (1)
driver26name$=readstring (1)
driver1team$=readstring (1)
driver2team$=readstring (1)
driver3team$=readstring (1)
driver4team$=readstring (1)
driver5team$=readstring (1)
driver6team$=readstring (1)
driver7team$=readstring (1)
driver8team$=readstring (1)
driver9team$=readstring (1)
driver10team$=readstring (1)
driver11team$=readstring (1)
driver12team$=readstring (1)
driver13team$=readstring (1)
driver14team$=readstring (1)
driver15team$=readstring (1)
driver16team$=readstring (1)
driver17team$=readstring (1)
driver18team$=readstring (1)
driver19team$=readstring (1)
driver20team$=readstring (1)
driver21team$=readstring (1)
driver22team$=readstring (1)
driver23team$=readstring (1)
driver24team$=readstring (1)
driver25team$=readstring (1)
driver26team$=readstring (1)
team1name$=readstring (1)
team2name$=readstring (1)
team3name$=readstring (1)
team4name$=readstring (1)
team5name$=readstring (1)
team6name$=readstring (1)
team7name$=readstring (1)
team8name$=readstring (1)
team9name$=readstring (1)
team10name$=readstring (1)
team11name$=readstring (1)
team12name$=readstring (1)
team13name$=readstring (1)
winner1name$=readstring (1)
winner2name$=readstring (1)
winner3name$=readstring (1)
winner4name$=readstring (1)
winner5name$=readstring (1)
winner6name$=readstring (1)
winner7name$=readstring (1)
winner8name$=readstring (1)
winner9name$=readstring (1)
winner10name$=readstring (1)
winner11name$=readstring (1)
winner12name$=readstring (1)
winner13name$=readstring (1)
winner14name$=readstring (1)
winner15name$=readstring (1)
winner16name$=readstring (1)
closefile (1)
and thats the reading