Read entire file: Difference between revisions

Line 1,477:
v=address hostemu 'execio * diskr "./st.in" (finis stem in.'Say in.0Do i=1 To in
.0 Say i '>'in.i'<' End::requires "hostemu" LIBRARY
</pre>
 
=={{header|OxygenBasic}}==
Two Formats:
<pre>
 
string s
 
'AS FUNCTION
 
s=GetFile "t.txt"
 
'AS PROCEDURE
 
Getfile "t.txt",s
 
</pre>
 
54

edits