[REBOL] Re: pipe | rebol
From: al:bri:xtra at: 10-Jan-2001 6:57
Ryan wrote:
> >> d: 1 | e: d * 3 | f: e * e
> == 9
This works better for me:
>> d: 1 e: d * 3 f: e * e
== 9
> >> web-page: read http://www.rebol.com | load/markup
Try:
web-page: load/markup read http://www.rebol.com
Or another example:
write %file.html HTML eText unwrap read %file.txt
with appropriate definitions, like:
eText: func [Text [string!]] [Text]
I don't think that a pipe function is needed in Rebol, as it seems to be
more confusing than helpful. YMMV.
Andrew Martin
ICQ: 26227169 http://members.nbci.com/AndrewMartin/