FILELEN

Format

number1 = FILELEN (string1)

Description

This function will return the length in bytes of the specified file. String1 should contain a valid DOS file name. The length of the file will be returned in Number1. If the expected length of a file could exceed 32767 bytes, declare number1 as a long integer or as a decimal variable.

Example

LEN& = FILELEN("C:\AUTOEXEC.BAT")
The above example will set variable LEN& to the length of "C:\AUTOEXEC.BAT".