uce/site/doc/pages/file_append.txt

17 lines
399 B
Plaintext

:sig
void file_append(String file_name, ...val)
:params
file_name : file name of file that should be written to
...val : one or more values that should be written into the file
:desc
Opens or creates a given file and appends data to it.
:see
>sys
:related
**PHP:** `file_put_contents($file, $data, FILE_APPEND)`
**JavaScript / Node.js:** Node `fs.appendFileSync()` or `fs.promises.appendFile()`