[REBOL] Re: Curious 'rejoin behavior
From: agem:crosswinds at: 31-May-2001 0:05
>>>>>>>>>>>>>>>>>> Ursprüngliche Nachricht <<<<<<<<<<<<<<<<<<
Am 30.05.01, 22:26:57, schrieb "GS Jones" <[gjones05--mail--orion--org]> zum
Thema [REBOL] Curious 'rejoin behavior:
> I was working through some xml to rebol conversions, and I noticed
what
> seems to be curious behavior on the part of 'rejoin. I suspect that
> this is a bug, but maybe I have misunderstood the behavior of this
word.
> example:
> price: 2
> rejoin [ <bid> price </bid> ] ; returns: <bid2</bid>>
> ; shouldn't it be: <bid>2</bid>
price: 2
rejoin [ "" <bid> price </bid> ]
note the »«
rejoin takes the type of the first element. You start with a tag ;-)
rejoin[<a href= > http://xyz " target=somewhere"]
could have uses?
> Bug or have I misunderstood some fundamental property of 'rejoin?
:-) ;-)
> --Scott Jones
-Volker