write_file

Syntax

native write_file(const file[],const text[],line = -1);

Description

Writes text to file. Function returns 0 on failure.
When line is set to -1, the text is added at the end of file.