close

Syntax

close(X)

Arguments

X is a file handle or a remote call connection.

Details

Close an opened file handle or a remote call connection. It must be executed by a logged-in user.

Examples

fout.writeLine("hello world!");
// output
1

fout.close();
fin = file("test3.txt");
print fin.readLine();
hello world!
fin.close();