Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>isdisk() - check if a disk drive is a valid drive</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     isdisk() - check if a disk drive is a valid drive
  Usage:    <logical> = isdisk(<drive>)
  Params:   string <drive> - drive letter to check in format "d:"
  Returns:  logical .T. if drive exists, .F. if not

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

                 @  8,0  say "Valid drives are :"+drivestr()
                 @ 10,0  say "Enter drive to log on to:"
                 @ 10,26 get tdrive pict "!:" valid isdisk(tdrive)
                 read


See Also: drivestr() setdrive() curdrive()

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