IOhannes m zmoelnig wrote:
you can tell [textfile] to use CR/LF/CRLF as line delimiters by opening the file in "cr" mode, like [open file.txt cr(
then you will need to stop through the lines by [bang(ing [textfile] till the end is reached. if you want to read the entire file at once, use [until] (with the 2nd outlet of [textfile] fed back to the 2nd inlet of [until], so it stops banging once the textfile is done. convert each line with [any2bytes], use [list append] to append '10' (the newline), and append those lists using another [list append].
Ok here's my take to this. I was unable to make it work with only two list append, so I used 1 append and 2 prepend. There sure is a more logical way to that. But at least it works :).
Please correct my patch and help me learn !
Thanks a lot for your help.
Charles