Hi Sriram, I don't know if this is correct, but I remember reading (?hearing?) something about there being a limit to the number of consecutive if-then-else constructs. For some reason the numbers four and seven come to mind. I may be way off, but (...) (28 years ago, 21-Aug-96, to lugnet.robotics.handyboard)