Anagrams

dlfallen

Active Member
Licensed User
Longtime User
In the course of programming a a word game, I wrote a program to find all 3 to 7 letter words that may be created using the input word (or letters). The limits of 3 and 7 are relevant to the intended word game, but I thought that this intermediate program may be of some use to others.

There are two versions. They are basically the same, but the one targeted for the device uses a listbox for the displayed output; the one targeted for the PC uses a table to display all results at once.

The about screen documents the origin of the word list I used (one of the 12Dicts word lists). I stripped out words less than 3 letters or more than 7 letters, and then coded them for fast retrieval using a binary search on the coded word. The resulting text file (Coded37.txt) is attached as a zip file because of size restrictions.

Enjoy!
 

Attachments

  • Anagram_Dev.sbp
    6.2 KB · Views: 264
  • Anagram_Win.sbp
    7.3 KB · Views: 267
Top