File input/output: Difference between revisions
Content added Content deleted
No edit summary |
(add bqn) |
||
Line 995: | Line 995: | ||
This linear program tries to open "input.txt" as text file (or aborts). |
This linear program tries to open "input.txt" as text file (or aborts). |
||
It then writes the content in text mode (i.e. minus trailing spaces) to "output.txt" (or aborts). |
It then writes the content in text mode (i.e. minus trailing spaces) to "output.txt" (or aborts). |
||
=={{header|BQN}}== |
|||
<syntaxhighlight lang="bqn">data←•FBytes "input.txt" |
|||
"output.txt" •FBytes data</syntaxhighlight> |
|||
=={{header|Bracmat}}== |
=={{header|Bracmat}}== |