Difference between revisions of "(File):seek"

m
 
(One intermediate revision by one other user not shown)
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}}
Line 13: 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 ==
 
== Other Languages ==
 
{{i18n|(File):seek}}
 
{{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