Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>check if a drive as a remote drive.</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Check if a drive as a remote drive.
------------------------------------------------------------------------------

 Syntax

        GT_Remote([<ncDrive>]) --> lIsRemote

 Arguments:

      <ncDrive> is an optional parameter that is the id of the drive
      to be checked. This paramater can be either a character value who's
      first character is taken as the drive letter or a numeric value
      where 0 = Default, 1 = A:, 2 = B:, etc... If no parameter is
      passed the default drive is used.

 Returns:

      A logical value, true (.T.) if the drive is a remote drive, false
      (.F.) if it is local.

 Description:

      GT_Remote() can be used to check if a drive is a remote device.

 Examples:

      // Each of the following check if drive D: is a remote drive.

      ? GT_Remote("D:")
      ? GT_Remote("D")
      ? GT_Remote("Dark Knight")     // First letter is used only.
      ? GT_Remote(4)

      // The next two check the current drive.

      ? GT_Remote(0)
      ? GT_Remote()

 Source: ISREMOTE.C

 Author:  Dave Pearson

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