Name: Anonymous 2011-03-18 22:11
sup /prog/, I'm having some trouble with file IO in Racket R5RS. It is simple, I have this:
(display #\newline out_file)
Where out_file is the output port. It's just some .dat file or something. It prints the reset of the things in my program perfectly fine, it just won't fucking newline for some reason. If I do this:
(display #\newline)
It works perfectly, and newlines to the damn screen. What am I doing wrong :(
(display #\newline out_file)
Where out_file is the output port. It's just some .dat file or something. It prints the reset of the things in my program perfectly fine, it just won't fucking newline for some reason. If I do this:
(display #\newline)
It works perfectly, and newlines to the damn screen. What am I doing wrong :(