FreeFile():Int

Get an unused file number. If there is no unused file number, fails with an error. Note that this function will always return the same value until you Open it (or Close another file). It is therefore normally used in the form

 Dim fd = FreeFile()
 Open "file" For Input As #fd
 Dim fd2 = FreeFile()
 Open "anotherfile" For Input As #fd2

Since: PCC 1.0.13, PCC2 1.99.12

This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.