openFiles | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Returns a list of files that have been opened with the open file command, but not yet closed with the close file command. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: file Command: close file, open file Function: files Control Structure: function Glossary: command, return, file path | ||||||
Security | disk | ||||||
Description | 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. The list of file paths is in the same order that the files were opened. Open files that were not opened by LiveCode are not included in the list returned by the openFiles function. | ||||||
Tags | file system |