FileLen Function

ගොනුවක විශාලත්වය බයිට් වලින් දක්වයි.

කාරක රීතිය:

FileLen (Text As String)

ආපසු ලබාදෙන අගය:

Long

පරාමිතීන්:

File: නිශ්වත ගොනු පිරිවිතරයක් ඇති ඕනෑම තන්තු ප්‍රකාශනයක්. ඔබට URL අංකනය භාවිතා කිරීමද කල හැක.

This function determines the length of a file. If the FileLen function is called for an open file, it returns the file length before it was opened. To determine the current file length of an open file, use the Lof function.

Error codes:

5 Invalid procedure call

උදාහරණය:

Sub ExampleFileLen

    MsgBox FileLen("C:\autoexec.bat")

End Sub