[REBOL] Re: Evaluation and writing in a file
From: tomc:darkwing:uoregon at: 16-Apr-2002 10:21
rejoin does work>> lines: {line1 line2 line3 line4 line5}== "line1 line2 line3 line4 line5">> count: 0== 0>> output: %out.dat== %out.dat>> write output "" >> foreach line parse lines none [[ write/append/lines output rejoin[ count: count + 1 " - " line ] [ ]>> print read %out.dat1 - line1 2 - line2 3 - line3 4 - line4 5 - line5 On Tue, 16 Apr 2002, COFFRE Richard FTO wrote: