_Kurt Posted January 2, 2007 Posted January 2, 2007 (edited) Hello guys,I've been trying to find a solution to my problem for hours. After hours and hours of testing, I gave up and here I am, asking for help. I guess this is some sort of pre-release of my SpellCheck library. These are my first UDF's that return arrays so be gentle . After I created the functions, I realized that they take WAY too long because of _InetGetSource. I then searched the forum and found another spellchecker that uses MS word, and runs 10x faster. I would than consider this as an experiment since the speed is ridiculously slow. _SpellCheck.au3 consists of: _NumberMistakes() -=- Retrieves the amount of mistakes in $string _MistakeSuggestion() -=- Retrieves suggestions for the mistakes in $string _GetMistakes() -=- Retrieves which words are misspelledIt all works fine, except for _GetMistakes. It's not properly returning the array, well I'm not too sure what's wrong with it. I'm asking someone a little more advanced in autoit to take a look at _GetMistakes and find out why it won't work.Thanks in advance,Kurt*EDIT* 200 posts Edited January 2, 2007 by _Kurt Awaiting Diablo III..
_Kurt Posted January 3, 2007 Author Posted January 3, 2007 No help? Just need someone good with arrays and UDF's to look over it quickly. Kurt Awaiting Diablo III..
/dev/null Posted January 3, 2007 Posted January 3, 2007 (edited) It all works fine, except for _GetMistakes. It's not properly returning the array, well I'm not too sure what's wrong with it. I'm asking someone a little more advanced in autoit to take a look at _GetMistakes and find out why it won't work. _GetMistakes() returns an array for me. Your problem might be somewhere else. #include <Array.au3> $string1 = "testt misster" $mistake = _GetMistakes($string1) _ArrayDisplay($mistake,"mistake") Cheers Kurt Edited January 3, 2007 by /dev/null __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *
James Posted January 3, 2007 Posted January 3, 2007 Your using MSWord for the spellchecker? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
_Kurt Posted January 3, 2007 Author Posted January 3, 2007 No, this uses a website to check for mistakes. I was saying that I had found a different Spellchecker that uses Com objects. I still cannot find why the array isn't returning the proper stuff. I've different ways of trying to return the array, sometimes it returns nothing and no errors occur, other times it looks to be correct but I get an error saying that the array was badly formatted. Kurt Awaiting Diablo III..
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now