HyperMath

Setting File Position

Setting File Position

Previous topic Next topic No expanding text in this topic  

Setting File Position

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

filehandle::seek([base],[offset])

Sets the current position in the file.  The position is specified by a base and offset byte size.  Successive reads are done from this position.

base

The base position.  The options include:

set = start of file

cur = current position.  This is the default option.

end = end of file.

offset

An offset number (in bytes) from specified base.  The default is zero.