Retro Rocket OS
Loading...
Searching...
No Matches
TELLFunction
TELL(file-handle)

Returns the current position within an open file, in bytes. If the handle given is invalid, an error will be thrown.


Examples

F = OPENIN("/system/test.txt")
PRINT TELL(F) ' Prints 0
N = READ(F)
PRINT TELL(F) ' Prints 1
CLOSE F

See also: OPENIN · OPENOUT · CLOSE · SEEK