(1) -> )sys cat test.input
f : TextFile := open("test.out", "output")
writeLine!(f, unparse([1,2,3,4,5,6,7,8]::InputForm))
writeLine!(f, "0123456789")
close!(f)
(1) -> )r test
f : TextFile := open("test.out", "output")
(1) "test.out"
Type: TextFile
writeLine!(f, unparse([1,2,3,4,5,6,7,8]::InputForm))
(2) "[1,2,3,4,5,6,7,8]"
Type: String
writeLine!(f, "0123456789")
(3) "0123456789"
Type: String
close!(f)
(4) "test.out"
Type: TextFile
(5) -> )sys cat test.out
[1,2,3,4,5,6,7,8]
0123456789
(5) ->