Equinox Online Help - Language Reference - A to Z
FileCloseAll |
|
|---|---|
| Applies to | |
| Syntax | FileCloseAll |
| Action | [Statement] Closes all files previously opened with the FileOpen statement within any method. |
| Scope | Usable anywhere |
| Notes | This statement saves you having to do multiple FileClose operations when you have opened several files. The system workarea SysError is set to a non-zero value if an error occurs, otherwise zero. |
| Category | File IO |
| See Also | FileCloseAll, FileDelimiters, FileInput, FileInputLine, FileLock, FileMovePosition, FileOpen, FilePosition, FilePrint, FileRead, FileReadLine, FileReadBinary, FileReadFile, FileUnlock, FileWrite, FileWriteBinary, FileWriteFile |
| Example | The following example opens several sequential files for reading and writing, places a text string in them and closes them all. handle hTest1, hTest2, hTest3 |