Hi, Norman,

To be brief...

No this is not a bug.  It has to do with the nature of
"literal" series values in REBOL.  Rather than repeat
the whole discussion here (this has come up MANY times
in the past), let me refer you to a previous essay
that I wrote in an attempt to explain this seemingly
unintuitive behavior for new REBOL programmers:

    http://www.escribe.com/internet/rebol/m19482.html

(The email talks about a couple of issues, but the
specific item you're asking about is dealt with in
the latter half of the essay.  I sincerely recommend
that you read the whole thing, however.)

Let me know if that leaves any open questions for you.

-jn-

[EMAIL PROTECTED] wrote:
>
> ...
> 
> I would expect, because of tester: "", that everytime the
> function gets executed and the /local tester is set to ""
> by tester: ""
> ..which it does not??..

It does not.  The value of that "literal string" is changed.

-jn-

-- 
; Joel Neely                             joeldotneelyatfedexdotcom
REBOL [] do [ do func [s] [ foreach [a b] s [prin b] ] sort/skip
do function [s] [t] [ t: "" foreach [a b] s [repend t [b a]] t ] {
| e s m!zauafBpcvekexEohthjJakwLrngohOqrlryRnsctdtiub} 2 ]
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to