mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 17:28:05 +02:00
15 lines
339 B
ObjectPascal
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.
|