FileOpsObj.$setposition()

Function group Execute on client Platform(s)
FileOps NO All

Syntax

$setposition(iNewPos)

Description

Sets the current position, for the open file associated with the object. Returns kTrue for success.

The current position is the byte index to the position in the file where the next function which reads or writes data, will read or write. The first byte in the file has position zero. $setposition() returns a boolean, which is true if the new position was successfully set.