vexing problem or bug?
Posted: Sat Jul 22, 2006 4:13 am
the following works fine:
[code](set 'out-buff "Now is the time to try men's souls")
(write-file "soulTest1.txt" out-buff) [/code]
but this doesn't:
[code](set 'out-buff "Now is the time to try men's souls")
(set 'out-file-handle (open "soulTest2.txt" "write"))
(write-file out-file-handle out-buff) [/code]
What's going on here? Many thanks.
[code](set 'out-buff "Now is the time to try men's souls")
(write-file "soulTest1.txt" out-buff) [/code]
but this doesn't:
[code](set 'out-buff "Now is the time to try men's souls")
(set 'out-file-handle (open "soulTest2.txt" "write"))
(write-file out-file-handle out-buff) [/code]
What's going on here? Many thanks.