Close - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


FileTools[Compressed]

  

Close

  

close a previously opened compressed file

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Close(file)

Parameters

file

-

string, string in string, or integer file descriptor

Description

• 

The Close command closes a file that has been opened with FileTools[Compressed][Open].

Examples

fileFileToolsTemporaryFilenamecatFileToolsTemporaryDirectory,kerneloptsdirsep,GZtest-

file/tmp/mpldoc3/GZtest-bx70dpPu

(1)

fdFileToolsCompressedOpenfile

fd6385344

(2)

FileToolsCompressedClosefd

0

(3)

FileToolsCompressedOpenfile

6385344

(4)

FileToolsCompressedClosefile

0

(5)

FileToolsCompressedClosefile

Error, (in FileTools:-Compressed:-Close) invalid input: /tmp/mpldoc3/GZtest-bx70dpPu does not refer to an open file

Compatibility

• 

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]

FileTools[Compressed][Open]

FileTools[Compressed][Read]

FileTools[Compressed][Write]

FileTools[Remove]