Difference between revisions of "MC-Basic:TELL"

From SoftMC-Wiki
Jump to: navigation, search
m (Miborich moved page Axystems:MC-Basic:TELL to MC-Basic:TELL: Global renaming of Axystems: namespace into (Main):)
Line 51: Line 51:
 
* [[MC-Basic:SEEK|SEEK]]
 
* [[MC-Basic:SEEK|SEEK]]
  
[[Category:Axystems:MC-Basic:File Management|TELL]]
+
[[Category:MC-Basic:File Management|TELL]]
 
}}
 
}}

Revision as of 09:16, 22 May 2014

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