[REBOL] Re: How to append newline to a block
From: christian::ensel::gmx::de at: 28-Apr-2009 11:09
Late answer to your question, Carlos,
but if each of your strings resembles exactly one line in the desired
output,
you'd normally want to use WRITE/LINES:
>>help write
USAGE:
WRITE destination value /binary /string /direct /append /no-wait
/lines /part size /with end-of-line /allow access /mode args /custom params
DESCRIPTION:
Writes to a file, url, or port-spec (block or object).
WRITE is a native value.
:
REFINEMENTS:
:
/lines -- Handles data as lines.
:
So, just WRITE/LINES %temp.tmp blk
HTH,
Christian
Sunanda schrieb: