Difference between revisions of "(File):seek"

m
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
 
Seek to a position in a file
 
Seek to a position in a file
 
== Function ==
 
== Function ==
Line 7: 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}}
Line 14: Line 13:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Seek to a position in a file}}
 
{{#set:Description=Seek to a position in a file}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|(File):seek}}

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