On Sat, 2006-05-06 at 22:32 -0700, Suresh Govindachar wrote: > > Really was hard to figure out what you are after.
Sorry, I was trying to be as clear as I could. > And if I understand you in your other post of today correctly, you > want to use z= rather than spellsuggest() because you do not want to > write the following type of code (even though the following type of > code would do what you are after): > > let index = 0 > let b=['Select word:'] > for item in spellsuggest('fooey', 10) > let index += 1 > let b += [index.'. '.item] > endfor > let correct=inputlist(b) Actually I was trying to avoid writing all the wrapper code that this code omits. :) z= does more than this snippet, it figures out what word it is, displays the list, requests user input, processes user input, and changes the word. The only thing I couldn't make it do is work from a function call, but by now I've blown a few hours and have written the wrapper, complete with PopUp menu. -- Steve Hall [ digitect mindspring com ]