The function returns the size of the specified file in the specified units (if not specified, then kilobytes [1kB = 1024 B]). The result is an integer value.
Declaration
INT %FileSize(
TEXT in FileName,
INT in Units := 1024
)
Parameters
FileName
Filename (including full path).
Units
Units (positive number, most often 1, 1000, 1024, 1000000 and so on).
Pridať komentár