FUNCTION SpellCheck
(TestWord$
, CorrectWord$
) 'IF Spellcheck = 100, we have a perfect 100% match for our words
'If the value is from -1 to -100, we have a percent match, so the routine "grades" how close the match is.
'If the value is 0, the words are just too different for the routine to think it's a match at all.
'Personally, I'd consider anything with an 80+ score to be a close enough match usually.
....more stuff