sorry to post more on obfuscation, this is a little different, and the other post was getting too long. I promise I won't be too insubordinate...X-}
Okay. I have a loop. At the end of the loop, I need to do some increment(s) and do a calculation. Now, only one of the variables incrmements needs to be checked. But, something else. If I execute the calculation [italic]right before[/italic] the loop exits, we'll have some problems. I made a solution, although, yes, its seems obfuscated, at least to me...
/*zip this, zap that...*/
/*now do increments*/
Make an infinite loop, then break in the middle, which is really the end....idk...nvmd.
Lets say the break condition i<=0 was in the while() command. When doTheEvilKillerFunc() executes, it would cause me some problems, not problems that be super errorneous, though. It can be corrected, but by adding additional statements after the loop handling this. Seems very messy to me.
Another solution is simple. Put doTheEvilKillerFunc() at the top. Well, It could be done, but then the problem comes at the other end of the loop, entrance. We could move values around to make it work, but guess what that'll be, obfuscation...
This time, I don't have much of a bias. I just wanna do the right thing. So thanx for your time and replies, all. Heck, be honest, thanx Lundin and niklas.