CLOSES THE TEXT FILE NUMBER N
ACTION
The command FILE_CLOSE N closes the text file number N which is in use for writing or for reading.
Its number becomes available and can be used to designate another text file to be used.
SYNTAX:
FILE_CLOSE N
USE ERROR EXAMPLE
dim a$
rem open a text file for reading
file_open_read 1,"my_file.txt"
rem print all its lines
while file_eof(1) <> 1
file_readln 1,a$:print a$
end_while
rem close it
file_close 1
FILE_CLOSE
FILE_CLOSE N
SEE ALSO
FILE_EOF()
FILE_OPEN_APPEND
FILE_OPEN_READ
FILE_OPEN_WRITE
FILE_READ
FILE_READBUF
FILE_READLN
FILE_READLN$()
FILE_WRITE
FILE_WRITEBUF
FILE_WRITELN