Hi Boleslav

Try

>> head reverse "abcd"
== "dcba"

Reverse leaves the current pointer at the tail of the reversed block.

-Larry

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 30, 2000 11:16 PM
Subject: [REBOL] reverse


> Zdravim,
>
> has anybody ever tried reverse?
> On my 2.3.0.1.1 I get some strange results:
>
> >> reverse 1.2.3.4    ;for tuple!
> == 4.3.2.1            ;is it okay
> >> reverse 1x5        ;for pair!
> == 5x1                ;is it okay too
>
> this was okay, strange results now:
>
> >> reverse "abcd"
> == ""
> >> reverse #{a1b2}
> == #{}
> >> reverse [a b c d]
> == []
> >> reverse [1 2 "a" "b"]
> == []
>
> etc etc etc...
>
>
> Louci se
> --
> ---------------------------------------------------------------
> Boleslav Brezovsky, NOT know as Kryptoplex, maybe on [EMAIL PROTECTED]
>                 member of R.U.R (means RobotenUndRebol this week)
> www.volny.cz/weirddream               MUSIC&SOUND
listen.to/sintezar   -------------------------------------------------------
--------
>
>

Reply via email to