Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%FileSize function


Old name
%FileSizeI


Function

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


Blok kódu
languageesl
themeConfluence
INT %FileSize(
   TEXT in FileName,
   INT in Units := 1024
 )


Parameters


FileNameFilename (including full path).
UnitsUnits (positive number, most often 1, 1000, 1024, 1000000 and so on).


Example


Blok kódu
languageesl
themeRDark
%FileSize("D:\D2000.EXE\kernel.exe", 1)