Project

General

Profile

Fwrite » History » Version 3

Per Amundsen, 02/22/2023 04:53 PM

1 1 Per Amundsen
_Added in 1.8.10_
2
3
*/fwrite [-bn] <handle> <text | &binvar>*
4
5
Writes text or the specified binary variable to the file.
6
7 3 Per Amundsen
_See also [[/fopen]], [[/fclose]], [[/fseek]], [[/flist]], [[$fread]], [[$fgetc]], [[$feof]], [[$ferr]], [[$fopen]]._
8
9 1 Per Amundsen
*Switches*
10
11 2 Per Amundsen
table(ktable).
12
|*Switch*|*Description*|
13
| -b | A binvar is specified. |
14
| -n | Append a [[$crlf]] at the end of the text/&binvar. |
15 1 Per Amundsen
16
*Parameters*
17
18 2 Per Amundsen
table(ktable).
19
|*Parameter*|*Description*|
20
| <handle> | The file handle to write to. |
21
| &lt;text <notextile>|</notextile> &binvar&gt; | The text or &binvar to write. |