file_bin_position(binfile);
Argument | Description |
---|---|
binfile | The ID of the file to get the position in. |
Returns: Real
This function will returns the current position in bytes, where 0 is the first position, of the file with the given file id. You supply the file ID value, as returned by the function file_bin_open.
NOTE: These functions do not work when the target module is HTML5.
pos = file_bin_position(file);
This would store the current position in the variable "pos".