File input/output: Difference between revisions

No edit summary
Line 2,980:
<span style="color: #7060A8;">close<span style="color: #0000FF;">(<span style="color: #000000;">outfd<span style="color: #0000FF;">)
<!--</syntaxhighlight>-->
 
=={{header|Phixmonti}}==
<syntaxhighlight lang="Phixmonti">/# Rosetta Code problem: http://rosettacode.org/wiki/File_input/output
by Galileo, 10/2022 #/
 
def eof? dup -1 != enddef
 
"input.txt" "r" fopen
"output.txt" "w" fopen
over fgets
eof? while
over fputs
over fgets
eof? endwhile
drop fclose fclose</syntaxhighlight>
 
=={{header|PHP}}==
57

edits