FileSize()

Syntax

Result = FileSize(FileName$)
Description
Returns the size of the specified file.

Special 'Result' values:

-1: File not found.
-2: File is a directory.

Supported OS

All

<- ExamineDirectory() - FileSystem Index - IsDirectory() ->