Mailtraq - the Complete Email Server
   

Enstar for Mailtraq email server sales & support
Making world-class Internet technology affordable  

Search for:

Advanced search

EOF()

Determines whether any data remains available in a file, i.e. whether the file pointer has reached beyond the last line of the specified file. EOF() operates on the file handle of a previously opened file and is normally used within a loop in conjunction with the Read() function to retrieve the contents of a text file.

Boolean := EOF( handle )

handle
The file identifier returned by a call to the OpenFile() function
Boolean
"FALSE" if there is more data to be read. "TRUE" if the end of the file has been reached
//Read the entire contents of a text file, input.txt, into the variable "my_text"

a := OpenFile("input.txt"); While(Not(EOF(a)), my_text := my_text ++ Read(a) ++ "\n" ); CloseFile(a)
Mailtraq Highlights...
 SMTP Server     Mailtraq SMTP email server video IMAP Server     Mailtraq IMAP email Server video
 POP3 Server     Mailtraq POP3 email server video Proxy Server     Mailtraq proxy email server video
 Webmail Server     Mailtraq webmail email server video Mailing-list Server     Mailing list email server video
 Groupware Services     Mailtraq groupware email services video Spam and Virus control     Spam and virus control email server video

 

   Copyright © 2003 - 2011 Enstar Ltd, Enstar LLC & Fastraq Ltd. All rights reserved. Privacy policy.
   Mailtraq® is a registered trademark of Fastraq Limited.