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>return the size in bytes of a low level file.</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Return the size in bytes of a low level file.
------------------------------------------------------------------------------

 Syntax

        GT_FSize(<nFileHandle>) --> nSizeInBytes

 Arguments:

      <nFileHandle> is the handle of a file that has been opened or
      created with one of Clipper's low level file functions.

 Returns:

      The size of the file in bytes.

 Description:

      GT_FSize() can be used for finding the size of a file opened with
      Clipper's low level file functions.

 Examples:

      // Print the size of a file.

      local nFile := fopen("LIFE.42")
      ? GT_FSize(nFile)     // Print the size of the file.
      fclose(nFile)

 Source: FSIZE.PRG

 Author:  Dave Pearson

See Also: GT_FTELL() GT_FLOCATE()

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