MC-Basic:SEEK

From SoftMC-Wiki
Revision as of 16:00, 13 December 2010 by Arwiebe (talk | contribs) (Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= Seek (# ''<DeviceHandle''> , <''lPointer''>) |AVAILABILITY= Versions 4.1.0 and higher |DESCRIPTION= Moves file pointer to specified location.…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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