Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>diskready()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DISKREADY()

Syntax:     DISKREADY(<expC>)

Arguments:  <expC> denotes the drive designator (A,B,C etc.) to be
            tested.

Returns:    A logical value.
            The designated drive is ready to operate if the return value
            is (.T.).

Usage:      It is frequently necessary to  distribute copies among several
            disks because of space restrictions.  DISKREADY() can be
            used to await a complete change of disk, without having to
            be either confronted with the known DOS errors or having
            to use Clipper's error trapping routines.

Notes:      The function defaults to the current drive if <expC> is not
            passed.

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   ? "Please insert a diskette in drive A:"
            DO WHILE .NOT. DISKREADY("A")
            ENDDO

            DO DISK_COPY



See Also: DISKREADYW()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson