CLOSE #

CLOSE #Channel_Number
releases the assignment of the channel.

Note.
When a program terminates even if it is caused by an exception, all the files that are open shall be closed.

Warning.
When a file is opened in a removable disk, do not remove it until the file is closed.