(Formerly known as FileRead, which is now obsolete)
(Formerly known as File.ReadString, which is now obsolete)
String File.ReadStringBack()
Reads a string back in from a file previously opened with File.Open, and returns it.
You should only use this with files which you previously wrote out with
File.WriteString. Do NOT use this function with any other files, even text files.
Example:
File *input = File.Open("test.dat", eFileRead);
String buffer = input.ReadStringBack();
input.Close();
will open the file test.dat (which you have previously written with File.WriteString) and
read a string into the buffer. Then close the file.
See Also: File.Open, File.WriteString
|