How would you input the user to save a file with the choice of the filename? I want to prompt the user to save the settings of the game, with the extension of .dat. How would I do those? Cheers.
Code:
LINE INPUT "filename? (no ext.): "; filename$
filename$ = filename$ + ".dat"
f%=FREEFILE
OPEN filename$ FOR OUTPUT AS #f% ' or whatever
' save stuff
CLOSE #f%
Oh I right, I knew that
Thanks Lebron!
If you knew that why did you ask, Toribio?
Oh, didnt you see me include the "
" face? That means I was just kidding.
Cheers.
Interesting... they have names for eachother... Must remember, Na_th_an is Lebron... and the other guy is Toribio..... :bounce:
Quote:If you knew that why did you ask, Toribio?
Nathan, are you sure this guy's name is not Abundio, like in "mas tonto que Abundio"?
*****
Actually, I think his name is "carajo", as in "vete pal carajo".
Just kidding, of course. :rotfl: :rotfl: :rotfl:
*scratches head*
*Wishes he hadn't slept through Spanish III last year*
*sigh*
Oh well.
Guys, just to let you know, I DO understand Spanish. -_-