with-file-appender ( path encoding quot -- )
Factor handbook » Input and output » Reading and writing files

Prev:with-file-writer ( path encoding quot -- )


Vocabulary
io.files

Inputs
patha pathname string
encodingan encoding descriptor
quota quotation


Outputs
None

Word description
Opens a file for appending using the given encoding and calls the quotation using with-output-stream.

Errors
Throws an error if the file cannot be opened for writing.

Definition