I got a do while loop. Now it works fine. But once it ends its not perforing a calcualtion after the loop as ended. Like outside the loop i have created a calculation and its not getting done?
I got a do while loop. Now it works fine. But once it ends its not perforing a calcualtion after the loop as ended. Like outside the loop i have created a calculation and its not getting done?
Well, there's several options.
1. The compiler is broken - unlikely.
2. You are actually NOT leaving the do-while loop as you expect.
3. Something else is preventing the calculation from being completed.
4. The aliens stole your code and replaced it with NOP's [1]
[1] NOP's are "NO Operation" instructions. This is a "no effect" instruction, such as move register 1 into register 1, or some equally "meaningless" thing.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*