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>drives() - get number of valid drives</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     drives() - get number of valid drives
  Usage:    <integer> = drives()
  Params:   none
  Returns:  an integer equal to the amount of available drives

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

                 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: drivestr() curdrive() curdir() isdrive()

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