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

 Syntax

        GT_FTell(<nFileHandle>) --> nBytePosition

 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 byte position of the file pointer.

 Description:

      GT_FTell() can be used for finding the location or a file
      pointer when working with files opened or created with Clipper's
      low level file functions.

 Examples:

      // Print the location of the file pointer.

      local nFile := fopen("LIFE.42")
      fseek(nFile,41)
      ? GT_FTell(nFile)     // Print the location in the file.
      fclose(nFile)

 Source: FTELL.PRG

 Author:  Dave Pearson

See Also: GT_FSIZE() GT_FLOCATE()

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