read Method

Top  Previous  Next

Reads data from a file.

Syntax

file.read(count)

Arguments

countThe number of bytes to read from the file.

Return Value

A string whose characters are the data bytes from the file. The length of the string will be count unless end of file is reached.

Remarks

 

Examples

 

See Also