MC-Basic:TELL

From SoftMC-Wiki
Revision as of 09:02, 2 May 2017 by Chi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language: English  • 中文(简体)‎

Returns current file pointer, offset from the beginning of the file. Value has meaning only for Seek command to move file pointer within a file.

Syntax

?Tell (# <DeviceHandle> )

Availability

Versions 4.1.0 and higher

Type

<DeviceHandle>: Long

<Returned value> : Maxlong

Range

<DeviceHandle>: 1 to 255

<Returned value> : Maxlong

Scope

Task or Terminal

Examples

-->Open "File1.PRG" Mode="r" As #1

-->seek(#1,8)

-->?tell(#1)

8

See Also