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>disksize() - get a disks size in bytes</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     disksize() - get a disks size in bytes
  Usage:    <integer> = disksize([<disk>])
  Params:   string <disk> - the disk to check, optional - if none
            then the default is the currently logged disk
  Returns:  an integer equal to the disks size

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

                 mem1 = disksize("C:")
                 if mem1 < 10000000
                      ? "You should buy a bigger hard disk"
                 endif

  Note:          This function sets ferror() if an error occurs.


See Also: diskspace() isdisk() isdrive()

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