newlines?
Posted: Tue May 10, 2005 5:06 am
I am reading a bunch of data from STDIN, saving each line in a variable, then I am concatinating the newest line with the older data, but it seems newlisp is stripping out the newline chars.
example:
(set 'full "")
(while (set 'n (read-line (device)))
(set 'full (string body n)))
if i do a (print full), I get everything, minus the newlines.
Am i missing something?
example:
(set 'full "")
(while (set 'n (read-line (device)))
(set 'full (string body n)))
if i do a (print full), I get everything, minus the newlines.
Am i missing something?