DMEDIUM_FREE

Syntax

DMEDIUM_FREE [(#channel)] or

DMEDIUM_FREE (\file)

Location SMSQ/E v2.73+

This function returns the number of free sectors available on the medium on which the specified file or directory is located, or to which the specified channel is open. If no parameter is specified, it looks to channel #3 (or #1 if #3 is not open).

CROSS-REFERENCE

DMEDIUM_TOTAL allows you to find out the total number of sectors available on the related medium. DIR can also be used to obtain this information.