Short: wordmixer, TAI NI PROGGI that mutates =D Author: megacz(megacz@usa.com) Uploader: megacz(megacz usa com) Type: util/rexx Version: first Requires: 68000+/os2.04+ Architecture: generic Distribution: Aminet . # intro ####### Well, this little script makes possible to mutate the string, in a very simple way, it is made for fun mainly. # more intro ############ The main idea is to move the first letter of a word to the end while attaching it between particular letters. Maximum number of available combinations is 'wordlen'*'wordlen-1'. So basically if u pick word: OHNO! wmix will process it as follows: HONO!, HNOO!, HNOO!, HNO!O, NHO!O, NOH!O, NO!HO, NO!OH, ON!OH, O!NOH, O!ONH, O!OHN, !OOHN, !OOHN, !OHON, !OHNO, O!HNO, OH!NO, OHN!O, OHNO!, giving u maximum number of switchable letters. # more, more intro ################## As u can see above OHNO! become a mutant muahahahaha =D, now i will explain in detail how does it work for those who need such explanation and for those who didnt get it by earlier infos. Number of phases depends on 'wordlen-1' - number of letters. PHASE 1: OHNO! - original word not changed gets prepared PHASE 2: HONO! - O from PHASE 1 has moved after H PHASE 3: NHOO! - O from PHASE 1 has moved after N PHASE 4: NHOO! - O from PHASE 1 has moved after O PHASE 5: HNO!O - O from PHASE 1 has moved after ! ...and the cycle repeats, and PHASE 5 enters PHASE 1, until it reach number of letters 'wordlen'. word mixer by megacz2k6(megacz@usa.com), 29-08-2006