spacer
   
   
Mailtraq - the Complete Email Server
   
spacer

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

spacer
spacer

CloseFile()

Closes a file previously opened with OpenFile(), AppendFile() or CreateFile(). Once a file handle has been closed, the handle no longer has any meaning and should no longer be used. Mailtraq automatically closes any open files at the end of each script however it is good practice to explicitly close all opened files. Also, when a file is open, it cannot be deleted or emptied using CreateFile().

CloseFile( handle )

handle
The file identifier returned by a call to OpenFile(), AppendFile() or CreateFile()
//Example usage 
myfile:= CreateFile("d:\internet\resource\sig-john.txt");
Write(myfile, "\n-- \nJohn Smith");
CloseFile(myfile)
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.