I believe you, but don't understand.... maybe you could clear it up with a simple sample? (If it's not much trouble.... ?
)
I've never done THIS before, in DiV it worked completely different... even the strings NEEDED to be declared, else nothing worked. When you want to save anything you would have to uuhm.... wait one second, I'll look it up right now:
IF (key(_control) AND key(_s)) savedata[0]=level; savedata[1]=key1; savedata[2]=health; savedata[3]=pos_X; savedata[4]=pos_Y; save("player.dat",offset savedata, sizeof(savedata)); END
A simple loading routine (this one works, designed myself, sry this is the db forum) Now I'll post the loading routine (don't know if it helps of explaning the Darkbasic coding to me)
IF (key(_control) AND key(_l)) load("player.dat",offset savedata); level_end=true; level=savedata[0]; key1=savedata[1]; health=savedata[2]; pos_X=savedata[3]; pos_Y=savedata[4]; break; END
Now this is only normal DiV-coding, where you had defined savedata[5] in your GLOBAL-list. Hope you can guess why I'm having troubles with dbpro, right??
"Only when all the seas are poisened, only when all the trees have been cut only when all the animals are killed, people will understand that money can't be eaten..."