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>filesize() - get the size of a file</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     filesize() - get the size of a file
  Usage:    <integer> = filesize(<filename>)
  Params:   string <filename> - file name to get size of
  Returns:  integer equal to the size of the file, -1 if error

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

                 if diskspace("A:") < filesize("employee.dbf")
                      @ 0,0 say "Can't copy file"
                 else
                      fcopy("employee.dbf","A:employee.dbf")
                 endif


See Also: diskspace() flen() ftell() ferror()

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