Print itself: Difference between revisions

Content added Content deleted
Line 74: Line 74:
call lineout , sourceline(j)
call lineout , sourceline(j)
end /*j*/ /*stick a fork in it, we're all done. */</lang><br><br>
end /*j*/ /*stick a fork in it, we're all done. */</lang><br><br>

=={{header|Ring}}==
<lang ring>
load "stdlib.ring"

fileName = filename()
fp = fopen(fileName,"r")
while not feof(fp)
see Readline(fp)
end
fclose(fp)
</lang>
{{out}}
<pre>
load "stdlib.ring"

fileName = filename()
fp = fopen(fileName,"r")
while not feof(fp)
see Readline(fp)
end
fclose(fp)
</pre>


=={{header|Wren}}==
=={{header|Wren}}==