CT_DISKSPEED

 DISKSPEED()
 Determines a comparison value for the drive speed

 Syntax

     DISKSPEED(<cDrive>) --> nDriveSpeed

 Argument

     <cDrive>  Designates for which physical drive identifier (A, B, C,
     etc.) to determine the speed.  You do not need to use the colon (:).

 Returns

     DISKSPEED() returns a percentage comparison value to a floppy drive of a
     4.77 MHz PC, which corresponds to 100%.

 Description

     Use this function when you want to calculate the approximate duration of
     such complex file operations as INDEX or SORT.  Since the total duration
     always depends upon the remaining computer speed, you should also use
     the SPEED() function..

     If the designated drive is unavailable or cannot be checked (network
     drive), the function returns a 0 value.

 Note

     .  You can only implement DISKSPEED() for physical drives, not
        network drives.

 Examples

     .  Show the speed of drive A:

        ? DISKSPEED("A")            // depends on drive

     .  Show the factor for your hard disk:

        ? DISKSPEED("C")            // e.g. 720  Factor 7.2

See Also: SPEED()

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.