Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Function Declaration
-
Function Seek(FileNumber As Integer) As Long
|
Parameter |
Description |
|---|---|
|
FileNumber |
An Integer data value that is a valid file number (section 5.4.5). |
Runtime Semantics.
§ Returns a Long specifying the current read/write position (in other words, the file-current file-pointer-position (section 5.4.5)) within a file opened using the Open statement. This value will be between 1 and 2,147,483,647 (equivalent to 2^31 - 1), inclusive.
§ The following describes the return values for each file access mode:
|
Mode |
Return Value |
|---|---|
|
Random |
Number of the next record read or written. |
|
Binary, Output, Append, Input |
Byte position at which the next operation takes place. The first byte in a file is at position 1, the second byte is at position 2, and so on. |