RosettaCodeData/Task/Write-entire-file/QBasic/write-entire-file.basic
2023-07-01 13:44:08 -04:00

4 lines
109 B
Text

f = FREEFILE
OPEN "output.txt" FOR OUTPUT AS #f
PRINT #f, "This string is to be written to the file"
CLOSE #