Since the REBOL interpreter is supposed to ignore everything
above the header I didn't actually need the semicolon. I left
it there as a hint, since I *do* need comment-escaped code
later on. An experienced REBOL programmer would know that it
wasn't needed, so that
snipsnip
In Joel's program, an empty issue identifier is simply passed on
without action or assignment.
Clear as mud?
--Scott Jones
Once I thought about it, it occurred to me what was going on. REBOL would
just output the last evaluation anyways. Such as:
a: 5 hi
== hi
or
hi
== hi
Hi, Charles,
Charles wrote:
There is, of course, the point that if one were to copy
paste the sig into the console (which is what I did),
then the comment /is/ required, and the REBOL [] does
nothing special.
And a good point it is, too!
octothorp? I've never heard that term
From _The_Elements_of_Typographic_Style_ by Robert Bringhurst,
a standard refererence in the field of typography...
I thought typography was the study of errors during typing. Hmm... ;)
octothorp Otherwise known a the numeral sign. It
has also been used as a symbol
Hi, Adrian,
Copy-and-paste it into your REBOL console (if you're willing
to trust me! ;-) or into a file that you can DO from the
REBOL console. Alternately, you can run that same file in
Perl.
Oh. The mystery commented portion is Perl... that makes sense, now. Hmm...
Little
Dixit Charles (07.33 18.03.2002):
Oh. The mystery commented portion is Perl... that makes sense, now. Hmm...
Little question, though. WTF does # do, precisely? It appears to be a comment
character for Perl (yes?), but when I try to help or source it, I get told it's
an issue. But I can do
From: Charles
To: [EMAIL PROTECTED]
Sent: Monday, March 18, 2002 12:33 AM
Subject: [REBOL] Re: footer on Joel's email
...
Oh. The mystery commented portion is Perl... that makes sense,
now. Hmm... Little question, though. WTF does # do, precisely?
It appears to be a comment character
Hi, Charles,
OK, here are my deep dark secrets...
Charles wrote:
Oh. The mystery commented portion is Perl... that makes sense,
now. Hmm...
The point of the sig is to allow someone to discover my email
address without placing it in clear text, thus making it just
a little harder for
Hi, Adrian,
Copy-and-paste it into your REBOL console (if you're willing
to trust me! ;-) or into a file that you can DO from the
REBOL console. Alternately, you can run that same file in
Perl.
The goofy looking string at the end is just an anti-spam
encoding of my email address. The rest of
Bonjour Adrian,
Saturday, March 16, 2002, 3:25:50 AM, vous avez écrit:
A I can`t figure it out, can you explain?
A ; sub REBOL {}; sub head ($) {@_[0]}
A REBOL []
A # despam: func [e] [replace replace/all e : . # @]
A ; sub despam {my ($e) = @_; $e =~ tr/:#/.@/; return \n$e}
A print head
10 matches
Mail list logo