dejo Moderator emeritus Aug 20, 2009 #26 jessejohnson147 said: there are no errors what so ever its just not looping Click to expand... It's only gonna loop if the second segment is selected and the random number it picked is 7. Is that what you want?
jessejohnson147 said: there are no errors what so ever its just not looping Click to expand... It's only gonna loop if the second segment is selected and the random number it picked is 7. Is that what you want?
J jessejohnson147 macrumors newbie Original poster Aug 20, 2009 #27 yep thats it ....(i dont know how you guys are not fed up with me yet).. but its not looping
dejo Moderator emeritus Aug 20, 2009 #28 Time to do(/learn?) some debugging. Maybe even try forcing randNumber to be 7 before the while loop and trying that. I would at least put a breakpoint before the while and checking what your selectedSegmentIndex and randNumber are.
Time to do(/learn?) some debugging. Maybe even try forcing randNumber to be 7 before the while loop and trying that. I would at least put a breakpoint before the while and checking what your selectedSegmentIndex and randNumber are.