# close {#close}

## Syntax {#syntax}

`close(X)`

## Arguments {#arguments}

**X** is a file handle or a remote call connection.

## Details {#details}

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

## Examples {#examples}

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

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

