On this Page

    fp.fclose

    Close a previously opened file.

    Syntax

    fp.fclose()

    Parameters

    None

    Returned Value

    None

    Description

    Closes a currently open file.

    Example

     var fp = _file.fopen("myfile.txt", "w");    // open for write
     fp.fputs("Hello World");    // write to file
     fp.fclose();