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

5 lines
108 B
Plaintext

OPEN #1: NAME "output.txt", CREATE NEWOLD
PRINT #1: "This string is to be written to the file"
CLOSE #1
END