LOF function (LotusScript® Language)

Returns the length of an open file in bytes.

Syntax

LOF ( fileNumber )

Elements

fileNumber

The number assigned to the file when you opened it.

Return value

The LOF function returns a value of type Long.

Usage

LOF works only on an open file. To find the length of a file that isn't open, use the FileLen function.

Example