WRITES THE LINE S TO THE TEXT FILE NUMBER N
ACTION
The command FILE_WRITELN N,S writes a line to the text file number N, the line being in the variable S, or in the string expression S.
The next writing in The file will be at the next line.
Example :
file_writeln 1,Ab3(6) (variable belonging to a real array)
file_writeln 1,A$+B$ (string expression)
file_writeln 1,"Hello !"
SYNTAX:
FILE_WRITELN N,S
USE ERROR EXAMPLE
rem open a file for writing
file_open_write 1,"my_file.txt"
rem write a line
file_writeln 1,"Hello !"
rem close it
file_close 1
FILE_WRITELN
FILE_WRITELN N,S
SEE ALSO
FILE_CLOSE
FILE_EOF()
FILE_OPEN_APPEND
FILE_OPEN_READ
FILE_OPEN_WRITE
FILE_READ
FILE_READBUF
FILE_READLN
FILE_READLN$()
FILE_WRITE
FILE_WRITEBUF