NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HxLink DID NOT INITIALIZE

Seek Statement

Sets the position for the next read/write operation within a file opened using the Open statement.

Seek [#]filenumber, position

Arguments

filenumber
Required. Any valid file number.
position
Required. Number in the range 1 – 2,147,483,647, inclusive, that indicates where the next read/write operation should occur.

Remarks

Record numbers specified in Get and Put statements override file positioning performed by Seek.

Performing a file-write operation after a Seek operation beyond the end of a file extends the file. If you attempt a Seek operation to a negative or zero position, an error occurs.

See Also

Example

Get Function | Loc Function | Open Statement | Put Statement | Seek Function | Writing Data to Files