reverse
[1/4] from: weirddream::volny::cz at: 31-Jul-2000 8:16
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 [weirddream--volny--cz]
member of R.U.R (means RobotenUndRebol this week)
www.volny.cz/weirddream MUSIC&SOUND listen.to/sintezar
---------------------------------------------------------------
[2/4] from: larry:ecotope at: 2-Aug-2000 15:16
Hi Boleslav
Try
>> head reverse "abcd"
== "dcba"
Reverse leaves the current pointer at the tail of the reversed block.
-Larry
[3/4] from: rebol:techscribe at: 2-Aug-2000 15:19
Hi Boleslav,
you wrote:
>>> reverse "abcd"
>== ""
>> index? reverse "abcd"
== 5
>> head reverse "abcd"
== "dcba"
;- Elan [ : - ) ]
author of REBOL: THE OFFICIAL GUIDE
REBOL Press: The Official Source for REBOL Books
http://www.REBOLpress.com
visit me at http://www.TechScribe.com
[4/4] from: weirddream:volny:cz at: 4-Aug-2000 16:12
Nazdarek [larry--ecotope--com]
thanks, time to read documentation again :-)
On 03-srp-00, [larry--ecotope--com] wrote:
> Hi Boleslav
> Try
<<quoted lines omitted: 41>>
>>
>>
Diky za pozornost,
--
---------------------------------------------------------------
Boleslav Brezovsky, NOT know as Kryptoplex, maybe on [weirddream--volny--cz]
member of R.U.R (means RobotenUndRebol this week)
www.volny.cz/weirddream MUSIC&SOUND listen.to/sintezar
---------------------------------------------------------------
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted