appendfile
Appends string data to the end of a file inside the executor's workspace, creating it when missing.
Signature
appendfile(path: string, data: string): ()Parameters
pathstringPath relative to the workspace folder.
datastringText to append.
Returns
Nothing.
Example
writefile("log.txt", "first\n")
appendfile("log.txt", "second\n")
print(readfile("log.txt")) --> first and second on separate lines