Thanks! I didn't think of putting it in a funciton, but that should work well since I use it twice anyway.
http://fembotics.com
consider also changing the outer loop's variable to something that will break it. i.e. Code: for ( i=0; i<40; i++ ) { for ( k=0; k<100; k++ ) { if (somecondition) { i = 40; break; } } }
for ( i=0; i<40; i++ ) { for ( k=0; k<100; k++ ) { if (somecondition) { i = 40; break; } } }
Forum Rules