Difference between revisions of "MC-Basic:SEEK"
m (1 revision) |
|||
Line 53: | Line 53: | ||
* [[Axystems:MC-Basic:TELL|TELL]] | * [[Axystems:MC-Basic:TELL|TELL]] | ||
− | + | [[Category:Axystems:MC-Basic:File Management|SEEK]] | |
}} | }} |
Revision as of 15:41, 13 March 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