Error getting tags :
error 404Error getting tags :
error 404 close file | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
close file
Basics
Expander triangle
Type
Command
Syntax
close file filePath
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
Disk
Summary
Closes a file that was opened with the open file command.
Examples

close file "/Desktop/Temp"
close file it

Additional Comments
Expander triangle

Use the close file command to release a file after reading from it or writing to it. (A file that is open for writing can't be used by any other application until you've closed the file.)

Parameters:

The filePath is the name and location of the file you want to close. If you specify a name but not a location, Revolution assumes the file is in the defaultFolder.

Comments:

Any files you have opened are closed automatically when you quit the application.

If you try to close a file that is not already open, the result function is set to File is not open.

User Comments
Expander triangle