steam_file_delete

Syntax:

steam_file_delete(filename);


Argument Description
filename The name of the file delete.


Returns: Real


Description

This function will delete the given file from the Steam Cloud. The function will return a value of 0 if it fails for whatever reason and a value greater than 0 if it succeeds.


Example:

if steam_file_exists("Save.txt")
   {
   steam_file_delete("Save.txt");
   }

The above code will check to see if a file exists, and if it does, it deletes the file from the Steam Cloud.