FreeFile function (LotusScript® Language)

Returns an unused file number.

Syntax

FreeFile

Return value

FreeFile returns an Integer value.

Usage

Use FreeFile when you need a file number (to open a file), but you don't know what file numbers are currently available.

If no more file numbers are available, an error is generated.

LotusScript® limits the number of open files to 255. Depending on your operating system environment and the HCL software you are running, the actual number of files that you can open may be 15 or less. See your product documentation for details.

You can call the function as either FreeFile or FreeFile().

Example