FileSize

Category: Files

Back to System Functions


Signature

FileSize(fileHandle As Integer)

Returns

Integer

Description

Returns the total size of the open file in bytes.

This does not change the current file position.

Example

size = FileSize(fileHandle) If size = 0 Then Return End If