Difference between revisions of "MC-Basic:SEEK"

From SoftMC-Wiki
Jump to: navigation, search
m (Miborich moved page Axystems:MC-Basic:SEEK to MC-Basic:SEEK: Global renaming of Axystems: namespace into (Main):)
Line 51: Line 51:
 
* [[MC-Basic:LOC|LOC]]
 
* [[MC-Basic:LOC|LOC]]
 
* [[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:Axystems:MC-Basic:File Management|SEEK]]
 
}}
 
}}

Revision as of 08:42, 22 May 2014

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