|
-
Aug 10th, 1999, 02:29 PM
#1
Thread Starter
New Member
please, i need some help on how to keep an hiscore file(i.e. how to retrieve the data and writing back) i will be grateful for any help.
-
Aug 10th, 1999, 06:03 PM
#2
You might get more responses if you typed "High Score" file.
Since this file sounds like it will be small (holding maybe one number), you might prefer writing/reading a value to the registry.
Look up "GetSetting" and "SaveSetting".
GetSetting(Appname, Section, Key, [Default]) As String and
SaveSetting(Appname, Section, Key, Setting)
(Appname, Section, Key, Setting)
But you should know how to access your own files. Look up the "Open, Line Input #, Input #, Print #, Write #" statements,
Open pathname For [Input | Output | Append] As filenumber [Len = buffersize],
"Line Input #, Input( ), or Input # statement to copy the file into program variables.
Print #FileNum, TheBox.Text
Write #FileNum, AnyString, AnyNumber
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|