LOF function

Purpose:

LOF returns the length of a file.

Syntax:

SizeOfFile = LOF(FileName AS STRING)

Return Value:

  • Data type: ULONGLONG
    SizeOfFile The byte size of the file if LOF is able to determine the size, otherwise, 0 is returned.

Parameters:

  • Data type: STRING
    FileName The name of an existing file.

BCX Console Sample Programs using the LOF function.