file_open_write (string);
Opens the file for writing into. If the file does not exist in
the SAVEDIR, it is created; otherwise it's previous
content is erased.Parameters:
string - Filename
Returns:
handle - file handle, unique number to identify the
file; or 0 if the file couldn't be
opened.Example:
var_nsave filehandle;
...
filehandle = file_open_write ("address.txt"); // opens the file address.txt to read
See also:
file_open_read,
file_open_append,
file_close, file_var_write,
file_var_read, file_str_write,
file_str_read, file_chr_read,
file_asc_write, file_asc_read
► latest
version online