Difference between revisions of "MC-Basic:SEEK"

From SoftMC-Wiki
Jump to: navigation, search
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:SEEK}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 46: Line 47:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:OPEN FILE|OPEN FILE]]
+
* [[MC-Basic:OPEN FILE|OPEN FILE]]
 
* [[MC-Basic:CLOSE|CLOSE]]
 
* [[MC-Basic:CLOSE|CLOSE]]
 
* [[MC-Basic:INPUT$|INPUT$]]
 
* [[MC-Basic:INPUT$|INPUT$]]
* [[Axystems:MC-Basic:LOC|LOC]]
+
* [[MC-Basic:LOC|LOC]]
* [[Axystems:MC-Basic:PRINT HASH|PRINT HASH]]
+
* [[MC-Basic:PRINT HASH|PRINT HASH]]
* [[Axystems:MC-Basic:TELL|TELL]]
+
* [[MC-Basic:TELL|TELL]]
  
[[Category:Axystems:MC-Basic:File Management|SEEK]]
+
[[Category:MC-Basic:File Management|SEEK]]
 
}}
 
}}

Latest revision as of 03:00, 28 April 2017

Language: English  • 中文(简体)‎

Moves file pointer to specified location.

Syntax

Seek (# <DeviceHandle> , <lPointer>)

Availability

Versions 4.1.0 and higher

Type

<DeviceHandle>: Long

<lPointer> : Long

Range

<DeviceHandle>: 1 to 255

<lPointer> : Maxlong

Scope

Task or Terminal

Examples

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

-->seek(#1,8)

-->?tell(#1)

8

See Also