SetPosition

Streams
Aptilis 2

SetPosition(Stream, Position)

Use this command to position yourself in a stream so as to read only the required characters or write to the position of your choice.

See Open for a primer on Aptilis streams and examples.

Return Value:
the previous position or -1 in case of error in which case _errno$ will give you more details.

See also: Open, Close, Read, ReadLine, Write or GetPosition.