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>drivestr() - get a string of the available drives</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     drivestr() - get a string of the available drives
  Usage:    <string> = drivestr()
  Params:   none
  Returns:  string equal to all the available drive letters

 ---------------------------------- 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

                 mem1 = drivestr()
                 for x = 1 to drives()
                      @ 10,x say "Directory of drive "+;
                      substr(mem1,x,1)+": - " + ;
                      curdir(substr(mem1,x,1))
                 next



See Also: isdisk() isdrive() curdrive()

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