FileGetPos

From Multi Theft Auto: Wiki
Revision as of 10:44, 24 November 2007 by Arc (talk | contribs)
Jump to navigation Jump to search

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

Syntax

number 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

See Also