| GetFileSize | Files | |
| Aptilis 1 | ||
GetFileSize(FileName)
GetFileSize returns the size of the file you specified.
Return Value:
The size of the file if everything was OK.
-1 in case of error and the _errno variable contains more details about the error.
Example:
f = "c:\\windows\\win.com" $
s = getfilesize(f$)
print("Size of ", f$, " is ", int(s)$)
Result:
| Size of c:\windows\win.com is 22679 | 
