I have mutiple FOR LOOPS like:
and the code is the same. Can I combine those FOR LOOPS and define the intervals from say 10 TO 45 - EXCEPT 22,,36,37,38![]()
Please Login or Register to view this content.
If so - how??
I have mutiple FOR LOOPS like:
and the code is the same. Can I combine those FOR LOOPS and define the intervals from say 10 TO 45 - EXCEPT 22,,36,37,38![]()
Please Login or Register to view this content.
If so - how??
Last edited by clemsoncooz; 02-19-2012 at 09:20 PM.
![]()
Please Login or Register to view this content.
Regards
Special-K
Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.
Just checking as I havent run it yet, but should the IF statement be ANDs or ORs?
Definitely ANDs
If its ORs...
Just look at this section of the code if we change it to ORs
IF i <> 22 OR i <>36... THEN do function
Lets say i <> 36
THEN we do the function...CORRECT!
But let's say i is 22, well thats not = 36 so the function will still get called...INCORRECT!
We dont want the function called if its 22
So they're definitely ANDs
yeah yeah that makes sense. Thank you so much!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks