DSKF()
This page was last modified 11:26, 18 May 2020 by Mars2000you. Based on work by Gdx.

Contents

Effect

Returns the number of free clusters on the disk inserted in the specified drive.

Syntax

DSKF(<Number>)

Parameter

<Number> is a value between 0 and 8, according the following tabel:

Number Drive
0 Default drive
1 Drive A
2 Drive B
3 Drive C
4 Drive D
5 Drive E
6 Drive F
7 Drive G
8 Drive H

Example

10 CLS:PRINT "Free clusters: ";DSKF(0)
20 PRINT:IF DSKF(0)<100 THEN PRINT "Please insert a new disk!"

Related to

FILES, LFILES

Compatibility

Disk BASIC 1.0 or higher