FileGetSize: Difference between revisions
Jump to navigation
Jump to search
(New page: __NOTOC__ {{Server function}} Returns the total size in bytes of the given file. ==Syntax== <syntaxhighlight lang="lua"> int fileGetSize ( file theFile ) </syntaxhighlight> ===Required Arguments=== *'''theFile:'''...) |
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 total size in bytes of the given file.
Syntax
int fileGetSize ( file theFile )
Required Arguments
- theFile: the file handle you wish to get the size of.
Returns
Returns the file size if successful, or false if an error occured (e.g. an invalid file handle was passed).
Example
--TODO