Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | fileWrite(fid, string_byte_or_bytearray) | Package | file | Alias | | Pkg Usage | open(fid, string_byte_or_bytearray) | |
Description
Excerpt |
---|
|
Writes text or byte data to an open file. |
Writes text or byte data to an open file.
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
fid | String | Yes | The id of the open file to write to. | string_byte_or_bytearray | String/Byten | Yes | The text string or byte data to write to the file. | |
Return Type
None
Return value has no meaning.
Error Handling
Throws
...
string
A string starting with “String
...
Example
Example 1
Code Block |
---|
|
use "file";
int fid = open(filename); //fileOpen
fileWrite(fid, "First line is here
"); //full name of the routinefunction
write(fid, "Second line is here
");
close(fid); //fileClose |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "file_ |
---|
|
...
function" and space = currentSpace ( ) | labels | array_ |
---|
|
...