This function moves the current read position within the file to the indicated position. You supply the file ID value, as returned by the function file_bin_open, and to append a file, move the position to the size of the file before writing.NOTE: These functions do not work when the target module is HTML5.
|binfile||The ID of the file to read from.|
|pos||The position in the file to move to.|
file = file_bin_open("myfile.bin", 2);
size = file_bin_size(file);
This would open a file from the same directory as the game, and assign its index to the variable "file", then get the size of the file and set the next writing position to that size.