When openning file, we use the FreeFile function or if we are very lazy we just pick a number from 1 - 512.
But....
Beside keeping our file unique and protected,
What does that number really means ?
Printable View
When openning file, we use the FreeFile function or if we are very lazy we just pick a number from 1 - 512.
But....
Beside keeping our file unique and protected,
What does that number really means ?
It gives the File an "Id Number". It also makes it possible to open more than 1 file at a time.
Ok the free file number ids files, and allows multiple files to be opened. But does the number relate to a position in memory or the FAT or something else?????
Persumably when you open a file it resides in memory and the free file number is a shorthand pointer to that memory location. I could be completely mistaken about this of course, it was just a thought.