Jump to content

Create a file on magnetic tape: Difference between revisions

no edit summary
(added a solution for D)
No edit summary
Line 233:
end /*j*/
/*stick a fork in it, we're done.*/</lang>
 
=={{header|Ring}}==
<lang ring>
# Project : Create a file on magnetic tape
# Date : 2017/12/09
# Author : Gal Zsolt (~ CalmoSoft ~)
# Email : <calmosoft@gmail.com>
 
fn = "Tape.file"
fp = fopen(fn,"w")
str = "I am a tape file now, or hope to be soon."
fwrite(fp, str)
fclose(fp)
</lang>
 
=={{header|Scala}}==
2,468

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.