in reply to permutations of array

Sounds like homework, but ....

Try Permutations and combinations and How do I find all possible combinations of a list?. You can also try doing a search using Super Search


<cite>Just a tongue-tied, twisted, earth-bound misfit. -- Pink Floyd</cite>