Use Math Modulo in Loop

Hello there I have test Math Function ( Modulo) in a loop, but not work ,

I doubt my logic in the block code below.

when the button is pressed
then the clock will be triggered, then the sequence begins,
if the sequence is still greater than the initial variable, then reduce the initial variable by 1. then detect an odd number, if it is correct, display it,
then even numbers.

But the code block does not work, there is no result on the screen.

is it my way is wrong, or my logic is wrong.

Please help.

**Update To My Self, Solved problem ** I Found The error,


Yeah rather it should be = 0
and != 0 instead of true and false


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.