Thread: Loop Problem
View Single Post
  #2 (permalink)  
Old 12-02-2008, 07:25 AM
Darryl.Burke's Avatar
Darryl.Burke Darryl.Burke is online now
Senior Member
 
Join Date: Sep 2008
Location: Madgaon, Goa, India
Posts: 737
Rep Power: 2
Darryl.Burke is on a distinguished road
Default
loop is initialized to false and never changed.

sequential if blocks check for iter == 0, 1, 2

iter is incremented and never reset

What happens when iter == 3?

db
Reply With Quote