[REBOL] Re: Rebol script competition!
From: dhsunanda::gmail at: 26-Sep-2007 9:00
Gabriele:
> Just once. It's easy if you think about it. Now maybe this is a nicer
> puzzle to solve. ;)
It's a trick I worked out for myself some years ago.
Fot those who want a clue:
IF:
>> random/seed 1000
>> random "abcde" ;; string we want to randomize
== "dcaeb"
THEN:
>> random/seed 1000
>> random "cebad" ;; "derandomise" to return to the original
== "abcde"
Half the trick is to use the same seed each time.
Sunanda