This VERY simple program Ask's some information about the player and then writes it into a *.INI file called "Character1.ini" as this is just a very basic one i might update it with a game loading example.
For now enjoy it!
File$ as integer
print "Name and Birthday."
input "Name Character: ",name$
Input "Birthdate Character: ",date$
Print ""
Print ""
Print "Character details."
Print ""
input "Attack: ",atk$
input "Defense: ",def$
Print ""
Print ""
Print "Are you sure you want these details?"
print ""
Print "Name Character: " ;name$
Print "BirthDate: " ;date$
Print "Attack: " ;atk$
print "Defense: " ;def$
input "",yn$
if yn$ = "Yes"
write file 1,File$
open to write 1,"Character1.ini"
write string 1,"-Name and birthday:"
write string 1,Name$
write string 1,date$
write string 1,"-Character details:"
write string 1,atk$
write string 1,def$
Print "Writing File,Please Wait..."
wait 4000
Print "Done,You can now use it in the game!"
wait key
endif
if yn$ = "No"
end
endif
enjoy.
Your signature has been erased by a mod because it was too beatifull to look at...