the if-case is taken only one time in the while-loop, why?

@michinyon: continue skips the instructions at the end. could be that the failure? could it be that it is skipping the instruction(the if-case) at the beginning?

@AWOL and econjack : i think econjack is right, because the iteration increments and the output is fine.

Nevertheless

  1. I added static to: static int iterator; => same probleme like before
  2. deleted "continue;" => same probleme like before