History  | 
CloseFile (files) 
Purpose 
Closes a file that has been opened with the OpenFile method. 
If a variable is declared globally, the file closes when the program ends. If a variable is declared locally, the file closes when the program exits that subroutine. 
Syntax 
File.CloseFile 
Example 
See the example for Openfile. 
 | ||