File Module
Lists the files of a directory, reads the lines of a file, writes or appends text to a file and tests whether a file exists.
Functions and values
| Function or value |
Description
|
Full Usage:
File.appendTextToFile path text
Parameters:
string
text : string
|
Appends the given text to the given file
|
|
|
Full Usage:
File.exists path
Parameters:
string
Returns: bool
|
Returns true if the given file exists
|
Full Usage:
File.readAllLines path
Parameters:
string
Returns: string[]
|
Reads all lines from the given file
|
|
|
Full Usage:
File.writeTextToFile path text
Parameters:
string
text : string
|
Writes the given text to the given file
|
GenPRES