Function

  Name Description
Public method string SaveFile(string path, string contents); saves a file on the hard drive

Example

local b = SaveFile("c:\\test.txt", "Hello World");
if b=="<error>" then Log("Could not save file"); end;

See Also