Previous - ioGetPos Section Home - File I/O Stream Next - ioClose


ioSetPos ( )

Sets the current byte position of the read/write head

Usage:

ioSetPos (object me, integer pos )

Parameters:

pos ( integer) - the new position to set for file read/write

Returns:

(integer) - The success code

Example:

xtRose = xtra("Rosetta").new( )
xtRose.ioOpen( "C:\mySavedData.dat", 1 )
xtRose.ioSetPos( 20 )

Notes:


Previous - ioGetPos Section Home - File I/O Stream Next - ioClose