FileTools[Compressed] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Input and Output : File Manipulation : FileTools : Compressed Subpackage : FileTools/Compressed/Close

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/usr/local/repository/tmp/mpldoc_slot0/mpldoc2/GZtest-bx70dpPu

(1)

fdFileToolsCompressedOpenfile

fd18438976

(2)

FileToolsCompressedClosefd

0

(3)

FileToolsCompressedOpenfile

18438976

(4)

FileToolsCompressedClosefile

0

(5)

FileToolsCompressedClosefile

Error, (in FileTools:-Compressed:-Close) invalid input: /usr/local/repository/tmp/mpldoc_slot0/mpldoc2/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]