FileTools[Compressed] - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Input and Output : File Manipulation : FileTools : 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

fileFileTools[TemporaryFilename]catFileTools[TemporaryDirectory],kerneloptsdirsep,GZtest-

file:=/mnt/tmpfs/mpldoc_slot3/mpldoc2/GZtest-bx70dpPu

(1)

fdFileTools[Compressed][Open]file

fd:=21349552

(2)

FileTools[Compressed][Close]fd

0

(3)

FileTools[Compressed][Open]file

21570352

(4)

FileTools[Compressed][Close]file

0

(5)

FileTools[Compressed][Close]file

Error, (in FileTools:-Compressed:-Close) invalid input: /mnt/tmpfs/mpldoc_slot3/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]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam