in reply to creating all possible random 'words' from 4 letters

It looks like you already have some very good suggestions for code to look at. I noticed that some of the responses suggested permutation code and some suggested combination code.

Before you choose which suggestions to follow up on, you should be clear on what you want - combinations or permutations. See http://mathforum.org/dr.math/faq/faq.comb.perm.html for an explination of the differences.

Oren
  • Comment on Re: creating all possible random 'words' from 4 letters