toka.nbk: Home | Index | Next Page: First Steps | Previous Page: Files
Allows for reading and writing data to files.
file_open() Open a file using the specified mode. Modes are a direct map to the fopen() modes: "r", "r+", "w", "w+", "a", and "a+". Numeric values for these are 1 - 6, in that order. file_close() This is just a simple wrapper over fclose(). file_read() This is just a simple wrapper over fread(). file_write() This is just a simple wrapper over fwrite(). file_size() This is just a simple wrapper over fstat() which returns the size of the file. file_seek() This is just a simple wrapper over fseek(). file_pos() This is just a simple wrapper over ftell().
file.open file.close file.read file.write file.size file.seek file.pos
toka.nbk: Home | Index | Next Page: First Steps | Previous Page: Files
Notebook exported on Sunday, 1 July 2007, 19:54:43 PM EDT