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>removeable() - see if a disk contains removeable media</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     removeable() - see if a disk contains removeable media
  Usage:    <logical> = removeable([<drive>])
  Params:   string <drive> - drive letter to check, optional - If
            none, then the currently logged drive is used
  Returns:  logical .T. if the drive contains removeable media, .F.
            if not or error

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

                 if removeable("D:")
                      ? "Can't copy to removeable media..."
                 else
                      fcopy("client.dbf","D:client.dbf")
                 endif


See Also: isfloppy() isfixed() isdrive() mediatype()

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