stopping some scanning
what is the best way to stop scanning from a for loop.
i have a trigger that i have to use to stop the scanning but i am unsure how to use it.
i have to scan a bunch of numbers into an array and use '00000' to stop the scanning of ints and move on, anyone help?
You could use break.
The break will exit out of the for loop.
know another problem i am having is, i have stored the data in the array.
how do i go about adding all the individual numbers in the array.
here is what i tried
for (row = 0; row < numofInts; row++)
sumofInts += numbers[row];
It looks okay to me, what isn't working properly?
i got it now, thank you for your time.