file_str_write (var handle, STRING*)

Writes the given string into the file with the given handle. The file must be open for writing or appending. The string is unmodified, i.e. special sequences like '\n' are not converted.

Parameters:

handle File handle
STRING* Character string to be written into the file

Example:

var_nsave filehandle;
...
filehandle = file_open_write ("myfile.txt");
file_str_write (filehandle,"this,is,");
file_str_write(filehandle,"a,Test");
file_close (filehandle);  

See also:

file_open_read, file_open_write, file_open_append, file_close, file_var_write, file_var_read, file_str_read, file_chr_read, file_asc_write, file_asc_read ► latest version online