FileGetPos: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
int fileGetPos ( file theFile ) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 08:17, 16 January 2008
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
See Also
- fileClose
- fileCopy
- fileCreate
- fileDelete
- fileExists
- fileFlush
- fileGetPath
- fileGetPos
- fileGetSize
- fileIsEOF
- fileOpen
- fileRead
- fileRename
- fileSetPos
- fileWrite