Error getting tags :
error 404Error getting tags :
error 404 openFiles | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
openFiles
Basics
Expander triangle
Type
Function
Syntax
the openFiles openFiles()
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
Disk
Summary
Returns a list of files that have been opened with the open filecommand, but not yet closed with the close filecommand.
Examples

the openFiles
if it is not among the lines of the openFiles then open file it
repeat until the openFiles is empty

Additional Comments
Expander triangle

Use the openFiles function to find out which files need to be closed, or to check whether a file is already open before reading from it or writing to it.

Value:

The openFiles function returns a list of file paths, one file per line.

Comments:

The list of file paths is in the same order that the files were opened.

Open files that were not opened by Revolution are not included in the list returned by the openFiles function.

User Comments
Expander triangle