[REBOL] Re: newlines
From: joel:neely:fedex at: 8-Nov-2001 0:54
Hi, Ladislav,
Ladislav Mecir wrote:
> Hi myself,
>
> how about:
>
> while [s: find/tail s "..."] [
> parse s [any #"." t:]
> s: remove/part back s t
> ]
>
Ermmm... I don't think so. What am I missing?
>> s: copy packnewlines/s
== {x......x........x.xx......xx........x......x.x....x......
x..x.........x.x.x....x..x.........xx..............x.x.......
......x.....
>> while [s: find/tail s "..."] [
[ parse s [any #"." t:]
[ s: remove/part back s t
[ ]
== "x.."
>>
>> head s
** Script Error: head expected series argument of type:
series port
** Near: head s
>> s
== none
-jn-
--
We say "gestalt" when things combine to act in ways we can't
explain.
-- Marvin Minsky
joel/dot/neely/at/fedex/FIX/PUNCTUATION/dot/com