Get the number of clusters on a drive.
──────────────────────────────────────────────────────────────────────────────

Syntax

GT_Cluster([<ncDrive>]) --> nClusters

Arguments:

<ncDrive> is an optional parameter that is the id of the drive
to be read. This paramater can be either a character value who's
first character is taken as the drive letter or a numeric value
where 0 = Default, 1 = A:, 2 = B:, etc... If no parameter is
passed the default drive is used.

Returns:

The numer of clusters on the drive. If the drive is invalid the
return value will be -1.

Description:

GT_Cluster() can be used to find the number of clusters on a
disk.

Examples:

// Each of the following print the number of clusters found on
// drive C:

? GT_Cluster("C:")
? GT_Cluster("C")
? GT_Cluster("Clipper") // First letter is used only.
? GT_Cluster(3)

// The next two print the number of clusters on the current drive.

? GT_Cluster(0)
? GT_Cluster()

Source: CLUSTERS.C

Author: Dave Pearson