fileWrite

Description

Writes text or byte data to an open file.

Parameters

Return Type

None

Return value has no meaning.

Error Handling

Throws String

Error: "write_error": followed by the actual error

Example

Example 1

use "file"; int fid = open(filename); //fileOpen fileWrite(fid, "First line is here "); //full name of the routine write(fid, "Second line is here "); close(fid); //fileClose

See also