Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_diskempty() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_DISKEMPTY()

 DESCRIPTION

 C_DISKEMPTY() determines if the diskette or hard disk for the
 specified drive contains any file(s) or is empty with all space
 available.

 NOTES

 Any file or directory entry on the disk, regardless of size, will
 cause C_DISKEMPTY() to return false (.F.).

 If the specified drive is not ready, C_DISKEMPTY() returns false (.F.).

 SYNTAX

 C_DISKEMPTY(drive)

 PARAMETERS

 drive (C) is the drive letter to check.  The drive letter can be
 any valid drive and is specified as a character string ("A:", "B:",
 "C:", etc.).  The colon must be provided with the drive letter.

 RETURNS

 C_DISKEMPTY() returns true (.T.) if the disk is empty or false (.F.)
 if it is not.

 EXAMPLES

 if c_isdrive("A:")
   if c_diskempty("A:")
     do copy_files
   else
     ? "Diskette in Drive A: Contains Files"
   endif
 endif


See Also: C_ISDRIVE() C_DISKSTAT() C_ZAPDISK()

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