Difference between revisions of "MC-Basic:TELL"
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= ?Tell (# ''<DeviceHandle>'' ) |AVAILABILITY= Versions 4.1.0 and higher |DESCRIPTION= Returns current file pointer, offset from the beginning …') |
|||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:TELL}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 44: | Line 45: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:OPEN FILE|OPEN FILE]] |
− | * [[ | + | * [[MC-Basic:CLOSE|CLOSE]] |
− | * [[ | + | * [[MC-Basic:INPUT$|INPUT$]] |
− | * [[ | + | * [[MC-Basic:LOC|LOC]] |
− | * [[ | + | * [[MC-Basic:PRINT HASH|PRINT HASH]] |
− | * [[ | + | * [[MC-Basic:SEEK|SEEK]] |
− | |||
+ | [[Category:MC-Basic:File Management|TELL]] | ||
}} | }} |
Latest revision as of 09:02, 2 May 2017
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