some advice as to how to call up the script.
Code: Select all
<h> 'header 30,30,s1 'coordinates of script #1 on the map </h> 'end of header <s1> 'beginning of script #1 some commands 'self explanitory </s> 'end of script #1 </> 'end of file
coordinates. If a match is found, the program will jump to the s# defined
in the respective header.
This is my dilemma:
If I decide to hold this file open for input for the length of the programs
run, I fear the program is liable to crash without warning due to
file access errors or some other problem related to holding a file open.
Perhaps my fears are completely illogical and there's no problem with
If I decide to only open the file when I need to read a script. I will load
the coords into the program then close the script file. the problem with this method is that constant opening and closing of a file may cause a
problem with the users hard drive. Of course I don't know, maybe it won't,
that's why I'm asking. also the fact that you are accessing the HDD at all
slows down the program by a bit. would it still be fast enough?
Please help me decide on a proper method of file access.
I hope to resolve this dillema by tomorow
any help is greatly appreciated, thank you. =D