[REBOL] Re: concurrent/parallel/multiple SETting
From: joel:neely:fedex at: 7-Jan-2002 5:44
Thanks to Volker and Carl the following is now a permament part
of my REBOL toolkit:
vv: does [do read clipboard://]
It allows style-agnostic cut-and-paste.
-jn-
Anton Rolls wrote:
> Also, I'd like to complain ;) about the
> style below, (which is not quite style-guide
> compliant).
> If I paste this code straight into the console,
> it fails on the first line because func is expecting
> a block, but a newline indicated that the expression
> was finished and the console should do it.
--
; sub REBOL {}; sub head ($) {@_[0]}
REBOL []
# despam: func [e] [replace replace/all e ":" "." "#" "@"]
; sub despam {my ($e) = @_; $e =~ tr/:#/.@/; return "\n$e"}
print head reverse despam "moc:xedef#yleen:leoj" ;