steam_file_read

Syntax:

steam_file_read(filename);


Argument Description
filename The name of the file to read from.


Returns: String


Description

This function will read the contents of the given file into a string which can later be parsed in your game.


Example:

if steam_file_exists("Save.txt")
   {
   save_str = steam_file_read("Save.txt");
   }

The above code checks to see if a file exists on the Steam Cloud and if it does, it opens it and reads its contents into the variable "save_str".