I am not good at doing "exact" descriptions because then I would need to write the app for you. Here is how I would approach it.GaReb wrote:I have searched this site for help and found several useful posts, but I must have my stupid hat on, so I will probably need this spelled out verbatim for me. Sorry in advance
Here is what I am TRYING to do.
I want to click on a button that will generate random words from a text file I have created into a text box on my application.
Please feel free to email me. I will need this spelled out and shown to me EXACTLY what it should look like.
Thanks
Jay
1) get a list of acceptable words. Find a dictionary somewhere that is open source which you can use.
2) You say "text file" so I cannot assume it is words but just a bunch of letters.
3) Count how many of each letter of the alphabet is in your text file. You would use the string functions of NB. Summarize your totals
4) Start utilizing the largest words of your dictionary and work down from there. From the list of letters, see if the list of letters in the words can be matched in the larger text file, if so, use that word and subtract the number of each letter from the totals you generated earlier
5) When you get to the end, you may have some letters left over but a list of acceptable words as well!
Is this the right concept?
D