mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-16 16:44:05 +00:00
6e01fc8dce
Added new _STRCMP and _STRICMP commands for quick string comparisons. Cleaned up QB64 to finish removing the QUI (quick user insert) code and folders. Altered UCASE and LCASE routines to be faster in some situations for us.
21 lines
No EOL
619 B
Text
21 lines
No EOL
619 B
Text
The '''SEEK''' function returns the current byte or record position in a file.
|
|
|
|
|
|
|
|
{{PageSyntax}}
|
|
:: byte% = SEEK(filenumber%)
|
|
|
|
|
|
* Filenumber is the number of an [[OPEN]] file in any mode.
|
|
* In [[RANDOM]] files SEEK returns the current record position.
|
|
* In [[BINARY]] or sequencial files SEEK returns the current byte position(first byte = 1).
|
|
* Since the first file position is 1 it may require adding one to an offset value when documentation uses that position as 0.
|
|
* Devices that do not support SEEK (SCRN, CONS, KBRD, COMn and LPTn) return 0.
|
|
|
|
|
|
''See also:''
|
|
*[[SEEK (statement)]]
|
|
*[[LOC]]
|
|
|
|
|
|
{{PageNavigation}} |