Difference between revisions of "MC-Basic:SEEK"
Line 48: | Line 48: | ||
* [[Axystems:MC-Basic:OPEN FILE|OPEN FILE]] | * [[Axystems:MC-Basic:OPEN FILE|OPEN FILE]] | ||
* [[MC-Basic:CLOSE|CLOSE]] | * [[MC-Basic:CLOSE|CLOSE]] | ||
− | * [[ | + | * [[MC-Basic:INPUT$|INPUT$]] |
* [[Axystems:MC-Basic:LOC|LOC]] | * [[Axystems:MC-Basic:LOC|LOC]] | ||
* [[Axystems:MC-Basic:PRINT HASH|PRINT HASH]] | * [[Axystems:MC-Basic:PRINT HASH|PRINT HASH]] |
Revision as of 08:38, 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