Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

moonman239

Cancelled
Original poster
Mar 27, 2009
1,541
32
I am creating a project to help other people learn a foreign language. I want to set my app so that if there's a good chance the user said what he or she was supposed to say, the app will display a green checkmark.

I know I can use the scores array, but it has a lower count than the results array.
 
Last edited:
OK, this is really weird, but [[results results] count] gives a different count than the variable watcher. The variable watcher says the array contains 5 objects. Something is wrong here, but I can't put my finger on it.
 
Update: I figured out why the code I used was not working properly. The "results" array returns capitalized strings, and I searched the array for a non-capitalized string.

EDIT: The solution I have is not the one I want, but I am going to mark this thread as resolved anyway.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.