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> filesize determine file size pp 98</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FILESIZE                    Determine File Size                       pp 98

 Syntax:  FileSize (FilVar) ;

 Type:    File

 Form:    Function

 Purpose: Return integer value of file size.

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


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


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

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

See Also: FilePos Seek

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