var/SavedVar = 0
client/New()
..()
var/savefile/F = new('Save.sav')
F["A"] << SavedVar
client/Del()
..()
var/savefile/F = new('Save.sav')
F["A"] >> SavedVar
'Save.sav': cannot find file
'Save.sav': cannot find file
Can you help me?
And are the >> and << correct?
</<>
ID:266692
May 24 2002, 5:22 pm
|
|
May 24 2002, 5:28 pm
|
|
Look at the savefile example in the Guide to see what you're doing wrong. For now, all I can see is that you need to be using " instead of ' around your filename, since you're creating a file of that name and it is therefore a text string, not a file.
|