FileSize()

语法

Result.q = FileSize(Filename$)
概要
Returns the size of the specified file. This function can also be used to check if a file or directory exists or not.

参数

Filename$ The filename to get the size from.

返回值

Returns the size of the file in bytes, or one of the following values:
  -1: File not found.
  -2: File is a directory.

参阅

DirectoryEntrySize()

已支持操作系统

所有

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