Pascal Scripting: FileSize

Prototype:

function FileSize(const Name: String; var Size: Integer): Boolean;

Description:

Sets Size to the size of the specified file in bytes. Returns True if the file size was set successfully and False otherwise. Only supports file sizes smaller than 2 GB. To get all 64 bits of the file size, use FileSize64 instead.