| |
| | Gaming World // Tutorials - File Input/Output (Site not responding. Last check: 2007-10-03) |
 | | Save files are the more common type, and if you arenât very advanced in Sphere you may not want to read the section on raw files, as you probably wonât need it (yet). |
 | | The fifth opens rawfile.txt (the âtrueâ means that the file is going to be opened and written to, or if the file does not exist, be created and written to; if this was âfalseâ, then the file would be opened to be read from, or return an error if the file did not exist). |
 | | So when you open a file you are at position 0 in this file (the start of it), and if you write three letters (say âHeyâ)to the file, your position will become place 3 (and position 0 now has the value of the letter âHâ, 1 has the value of âeâ ect.). |
| www.gamingw.net /tutorials/730 (1398 words) |
|