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
See also: Functions