Online Eiffel Documentation
EiffelStudio

Disk Space

diskspace

Compiling

To compile the example:

Running

After launching the application, you will see text output showing the size and amount of free space available on each of your local drives.

Under the Hood

DISCSPACE_DEMO contains a once feature, diskspace which returns an instance of WEL_DISK_SPACE, used to query the local drives.

This sample contains only one class: