spacer
   
   
Mailtraq - the Complete Email Server
   
spacer

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

spacer
spacer

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)
spacer


Download Trial
Buy now
Screenshots
Requirements
Feature Tree
FAQs
What's new
Print this page Print this Page
Mailtraq 2.12 PDF Datasheet
Send a friend an email about Mailtraq ShareMailtraq - Email Server at Delicious Mailtraq - Mail Server at digg Mailtraq - Mail Server at FacebookMailtraq - Email Server at stumbleupon Tweet about Mailtraq

 

 

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