Files
ground_fork/extlibs/file/README.md

430 B

file library

This library allows reading from and writing to files on the system.

Functions

fun -string !readFile -string &fileName

This function reads all content from a file and returns it.

fun -bool !writeFile -string &fileName -string &content

This function overwrites a file with specified content. If successful, returns true. If not successful, returns false, and prints out a reason why it didn't work.