Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Pascal - <b> filepos get current file position pp 97</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FILEPOS                  Get Current File Position                    pp 97

 Syntax:  FilePos (FilVar) ;

 Type:    File

 Form:    Function

 Purpose: Return integer value of current file position.

 Notes:   Use LongFilePos, LongFileSize, and LongSeek with MS-DOS.
          FilePos does not apply to text files.


 ----------------------------------------------------------------------------


 Usage:
       VAR
          IntVar  :  Integer          ;  { Define integer variable    }

       BEGIN
          IntVar  := FilePos (FilVar) ;  { Get current position value }
       END.

See Also: FileSize Seek

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