EOF The EOF function checks whether the end of the file has been reached. EOF() => number number = 0: End of file not reached number = 1: end of file reached