FileRead: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: string fileRead ( file, number count ) Reads the given number of bytes from the given file and returns it as a string. Note that the returned string might not have as many bytes as you sp...)
 
No edit summary
Line 1: Line 1:
string fileRead ( file, number count )
string fileRead ( file, number count )


Reads the given number of bytes from the given file and returns it as a string. Note that the returned string might not have as many bytes as you specified if an error occured, ie end of file.
Reads the given number of bytes from the given file at its current position and returns it as a string. Note that the returned string might not have as many bytes as you specified if an error occured, ie end of file.

Revision as of 01:19, 23 November 2007

string fileRead ( file, number count )

Reads the given number of bytes from the given file at its current position and returns it as a string. Note that the returned string might not have as many bytes as you specified if an error occured, ie end of file.