updating oE where


include io.e 
namespace io 
public function where(file_number fn) 

retrieves the current file position for an opened file or device.

  1. fn : an integer, the handle to the file or device to query.

An atom, the current byte position in the file.


The target file or device must be open.


The file position is is the place in the file where the next byte will be read from, or written to. It is updated by reads, writes and seeks on the file. This procedure always counts Windows end of line sequences (CR LF) as two bytes even when the file number has been opened in text mode.

Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu