fpc/docs/dosex/ex6.pp
1998-03-25 11:26:49 +00:00

10 lines
219 B
ObjectPascal

Program Example6;
uses Dos;
{ Program to demonstrate the DiskSize and DiskFree function. }
begin
WriteLn('This partition size has ',DiskSize(0),' bytes');
WriteLn('Currently ',DiskFree(0),' bytes are free');
end.