RosettaCodeData/Task/Write-entire-file/Run-BASIC/write-entire-file.basic

4 lines
97 B
Plaintext

open "output.txt" for output as #1
print #1, "This string is to be written to the file"
close #1