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

3 lines
127 B
Text

(define n (open-output-file "example.txt"))
(write "(Over)write a file so that it contains a string." n)
(close-output-port n)