The EOF ( ) function is used to check the end of the file marker while reading the data from the open sequential data file. It returns TRUE if the end of the file has been reached and returns FALSE when the end of the file has not been reached.
- Syntax:
- EOF ( file number )
- Eg:
- EOF ( 1 )