[REBOL] Re: Evaluation and writing in a file
From: richard:coffre:francetelecom at: 16-Apr-2002 9:45
Hi Gregg,
It failed in my case as you can see below :
** Script Error: Expected block of lines
** Near: write/append/lines output compose [(count) " - " ligne]
:-(
-----Message d'origine-----
De : Gregg Irwin [mailto:[greggirwin--mindspring--com]]
Envoy=E9 : lundi 15 avril 2002 18:21
=C0 : [rebol-list--rebol--com]
Objet : [REBOL] Re: Evaluation and writing in a file
Hi Richard,
<<
write/append/lines output reduce [ count " - " ligne ]
where count is a number and ligne a character string. It doesn't work
because I don't have any block, but when I write
write/append/lines output [ count " - " ligne ]
count isn't evaluated so how can I do ?
>>
Have you tried COMPOSE?
E.g. write/append/lines output compose [ (count) " - " ligne ]
--Gregg