请教各位,
这两个函数是不是写错了,另如何调用?为何我总是调不到?//检测主程序大小
Function GetMax():integer;
var
F: file of byte;
begin
   Filemode:=0;
   Assignfile(F,'Zican.exe');
   Reset(f);
   Result:=Filesize(F);
   Closefile(F);
end;//检测创建日期和时间
Function GetDate():String;
var
t:TDate;
begin
   ShortDateFormat:='yyyy-mm-dd';
   t:=FileDateToDateTime(FileAge('Zican.exe'));
   Result:=DateToStr(t);
end;