[REBOL] Re: Quick print question
From: anton:lexicon at: 7-Apr-2002 18:01
It is unclear exactly what you want Charles, but perhaps this will do the trick. print-lines: func [blk [block! string!]][ if string? blk [blk: parse/all blk "^/"] foreach line blk [print line] ]>> print-lines ["line 1" "line 2" "line 3"]line 1 line 2 line 3>> print-lines {line 1^/line 2^/^/"line 4"}line 1 line 2 line 4 <- notice the quotes are gone, however. Anton.