This command will return the size of the specified file in bytes, otherwise zero is returned.
Syntax |
Return Integer=FILE SIZE(Filename)
Parameters |
Filename
String
The file name must exist or the command will fail
Returns |
Will return the size of the specified file in bytes, otherwise zero is returned
Description |
The file must exist or the command will fail.
Example Code |
cls print "file size= "+file size("data.dat") do loop end