FileTools[Compressed]
Close
close a previously opened compressed file
Calling Sequence
Parameters
Description
Examples
Compatibility
Close(file)
file
-
string, string in string, or integer file descriptor
The Close command closes a file that has been opened with FileTools[Compressed][Open].
file≔FileToolsTemporaryFilename⁡cat⁡FileToolsTemporaryDirectory⁡,kernelopts⁡dirsep,GZtest-
file≔/tmp/mpldoc3/GZtest-bx70dpPu
fd≔FileToolsCompressedOpen⁡file
fd≔6385344
FileToolsCompressedClose⁡fd
0
FileToolsCompressedOpen⁡file
6385344
FileToolsCompressedClose⁡file
Error, (in FileTools:-Compressed:-Close) invalid input: /tmp/mpldoc3/GZtest-bx70dpPu does not refer to an open file
The FileTools[Compressed][Close] command was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
See Also
FileTools[Compressed][Open]
FileTools[Compressed][Read]
FileTools[Compressed][Write]
FileTools[Remove]
Download Help Document