Lof Function

オープン済みファイルのサイズを、バイト単位で返します。

Syntax:


Lof (FileNumber) As Long

Return value:

Long

Parameters:

FileNumber: Any numeric expression that contains the file number that is specified in the Open statement.

ヒント

To obtain the length of a file that is not open, use the FileLen function.


Error codes:

5 無効なプロシージャー呼び出しです

52 ファイル名または番号が不正です

Example:

ご支援をお願いします!