fpc/tests/webtbs/tw1041.pp
2002-09-07 15:40:30 +00:00

15 lines
339 B
ObjectPascal

uses
sysutils,dos;
begin
Writeln('Dos DiskSize = ',Dos.DiskSize(0));
Writeln('Sysutils DiskSize = ',SysUtils.DiskSize(0));
Writeln('Dos DiskFree = ',Dos.DiskFree(0));
Writeln('Sysutils DiskFree = ',SysUtils.DiskFree(0));
if Dos.DiskSize(0)<>SysUtils.DiskSize(0) then
Begin
Writeln('Error with DiskSize');
Halt(1);
End;
end.