The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



GetFileSize


Unit:SDL_filesys
Class: none
Declaration: function GetFileSize (FileName: string): Longint;

The function GetFileSize returns the size of the file specified by FileName. The file size is in byte. If the file FileName does not exist, GetFileSize returns a value of -1.



Last Update: 2012-Oct-20