![]() |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The FileSize
command returns the size of the specified file in bytes. If the file does not exists,
the size 0 is returned. FileSize can therefore be used to check if a file exists. The returned number is an integer for files smaller than
2^31 bytes, otherwise a floating point number. Example 1:FileSize 1crn.pdb Display the size of file 1crn.pdb. Example 2:size = FileSize 1crn.pdb Assign the size 1crn.pdb (in bytes) to variable 'size'.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||