Read - 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]

  

Read

  

read from a compressed file

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Read(file, type, number)

Parameters

file

-

string or integer file descriptor

type

-

string or a hardware number type to read

number

-

number of characters or numbers to read

Description

• 

The Read command reads a fixed amount of data from a file that has been opened with FileTools[Compressed][Open].

Examples

(1)

(2)

(3)

(4)

(5)

(6)

(7)

FileTools[Compressed][WriteFile]("sample" in zipfile, "A sample message");

(8)

fd := FileTools[Compressed][Open]("sample" in zipfile,'mode'=READ);

(9)

(10)

(11)

(12)

Compatibility

• 

The FileTools[Compressed][Read] command was introduced in Maple 16.

• 

For more information on Maple 16 changes, see Updates in Maple 16.

See Also

FileTools[Compressed]

FileTools[Compressed][Close]

FileTools[Compressed][Open]

FileTools[Compressed][Write]

FileTools[Compressed][WriteFile]

FileTools[Remove]

 


Download Help Document