CLOSE FILE This command will close a file that has been previously opened using OPEN TO READ or OPEN TO WRITE.
Syntax
    CLOSE FILE File Number
Parameters
    File Number
Integer The open file number to close
Returns
This command does not return a value.
Description
The file must be open or the command will fail.
Example Code
    cls

    open to write 1,"data.dat"

    if file open(1)=1

    write float 1,42.0

    endif

    close file 1

    do

    loop

    end
See also
FILE Commands Menu Index