Difference between revisions of "Fclose"
From Scriptwiki
m |
|||
Line 16: | Line 16: | ||
Closes every file. | Closes every file. | ||
+ | == See Also == | ||
+ | * [[Fopen|/fopen]] to open a file. | ||
+ | * [[Why and how to use File Handlers]] | ||
[[Category:File Handling]][[Category:Commands]] | [[Category:File Handling]][[Category:Commands]] |
Latest revision as of 08:59, 2 July 2007
Closes the file associated with this name.
/fclose <name | wildcard>
If you specify a wildcard, all matching names are closed.
Note that you should always close a file if possible as other programs won't be able to access it otherwise.
Example
/fclose moo
Closes the file assigned with the name moo.
/fclose *
Closes every file.
See Also
- /fopen to open a file.
- Why and how to use File Handlers