FileGetPos: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (Needs example)
Line 16: Line 16:


==Example==
==Example==
<syntaxhighlight lang="lua">
--TODO
</syntaxhighlight>


==See Also==
==See Also==
{{File functions}}
{{File functions}}
[[Category:Needs Example]]

Revision as of 18:12, 18 June 2009

Returns the current read/write position in the given file.

Syntax

int fileGetPos ( file theFile )

Required Arguments

  • theFile: the file handle you wish to get the position of.

Returns

Returns the file position if successful, or false if an error occured (e.g. an invalid handle was passed).

Example

--TODO

See Also