Now this is cool.
The use of a language is the use of idioms/functions ... Maybe some one
could collect all of them from the list and put them somewhere where they
could be easily found.
Larry
[EMAIL PROTECTED] wrote:
> I seem to continue to use CSV files in just about all the
> REBOL programming I've done so far.
> I have a handy little code snippet that will do the parse
> correctly.
> this is a better solution than the kludge I used before.
>
> >
> spread: read/lines %file.csv
> linetoblock: func [
> arg1 blk1
> /local line
> ] [
> foreach line arg1 [ either "," = back tail line [ append
> blk1 parse/all line "," append blk1 " " ]
> [ append blk1 parse/all line "," ]
> ]
> ]
> >
> this one works.
> Bill.