
Function filewrite(fn,s)
filewrite(fn,s,m)
writes string s into a file with name fn.
The optional third argument holds the mode for
writing, either "w", "wt", "a" or "at".
The mode is "w" by default. See also the help text
of fopen().
The function is an extended companion to standard
function fileread().
(c) 2026 fabien van mook
2026.08.20 release of this file within package "fvm-miscellaneous" under GNU GPLv3+