Difference between revisions of "(File):seek"

m
m
 
Line 6: Line 6:
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|number|pos|The position to seek to}}
+
{{param|number|pos|The position to seek to, relative to start of file.}}
 
=== Returns ===
 
=== Returns ===
 
{{param|boolean|success|Whether the operation was successful}}
 
{{param|boolean|success|Whether the operation was successful}}

Latest revision as of 00:16, 29 September 2020

Seek to a position in a file

Function

Synopsis

success = File:seek( pos )

Arguments

number pos
The position to seek to, relative to start of file.

Returns

boolean success
Whether the operation was successful

See Also


Other Languages