

For example, the "Unix dictionary" contains just over 25 thousand entries. In this internet age, it is easy to obtain a file that contains a dictionary of words. A SAS data set that contains a list of English words.The corresponding SAS data sets are named perm5 and perm6. In the scrambled-word game that appears in my local paper, the words have either five or six letters.

SAS data sets that contains the set of all permutations for N elements.The PermuteChars module from my previous post.By putting these techniques together, you can write a SAS/IML program that solves scrambled-word puzzles. I also showed that you can generate the set of all permutations on N elements. In a previous post, I showed that you can scramble and unscramble words by using permutations. I hope you didn't get stumped on the word puzzle I posted as an anniversary present for my wife. You stare and stare at the letters, but no word reveals itself? You are stumped. Have you ever been stuck while trying to solve a scrambled-word puzzle?
