[REBOL] Re: pleac
From: carl:cybercraft at: 24-Dec-2003 22:39
On 12-Oct-03, Karl Robillard wrote:
> I followed a link off the Pleac site to the ROT13 implementation
> page (http://www.miranda.org/~jkominek/rot13/). The REBOL version
> posted there is unbelievably bad! It's so bad that I suspect it was
> sent in as a joke.
Note the: "; Note to other who might consider using REBOL: Don't."
I suspect the writer didn't know REBOL very well at all - maybe his
first attempt at a REBOL script? ;)
> I sent the webmaster the version below. I just
> hope the site is still being maintained. I'd hate for someone to
> think REBOL is so cumbersome.
> foreach c input [
> cap: c and 32
> c: c and complement cap
> if (c >= #"A") and (c <= #"Z") [
> c: c - #"A" + 13 // 26 + #"A"
> prin to-char c or cap
> prin "^/"
> -Karl Robillard