Hi Pedro,

Why would you set a loop "for i = 1 to 100" if your going to exit the loop after 30 counts? I could possibly understand putting an "if-then" situation in there if you needed to do something based on a condition of another input or something but your example doesn't make any sense.

BobK