Programs on CD
Klaus Major
k_major at osnabrueck.netsurf.de
Fri Feb 15 05:55:01 EST 2002
Hi all,
important correction !
> Example:
>
> You want to store some highscore.
> In this example it is stored into a text file in the
> prefenrences folder on a mac.
> See "specialfolderpath" in the index for more info.
>
> on xxx
> get fld "highscore" ##or wherever you keep it
> put it into url("file:" & specialfolderpath(preferences) &
> "yourhighscore.prf")
this line should be:
put it into url("file:" & specialfolderpath(preferences) & "/" &
"yourhighscore.prf")
> end xxx
>
> That's it...
>
> Now if you want to retrieve the highscore file, try this:
>
> on xxx
> if there is not a file (specialfolderpath(preferences) &
> "yourhighscore.prf") then exit xxx
this line should be:
if there is not a file (specialfolderpath(preferences) & "/" &
"yourhighscore.prf") then exit xxx
Regards
Klaus Major
k_major at osnabrueck.netsurf.de
More information about the metacard
mailing list