381 B
381 B
file_Write
Open a file and overwrite its contents with the provided string in w mode.
Arguments
- path (string): Path to the file you want to write to
Returns
- success (boolean): Whether writing to the file succeeded or not
Raises
FileError: Raised if the file doesn't exist
Example
call !file_Read "my_file.txt" &contents
println $contents