forked from ground/ground
14 lines
430 B
Markdown
14 lines
430 B
Markdown
# 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.
|