Date: Sun, 08 Nov 2020 20:37:24 -0500 From: wor...@alum.mit.edu (Dale R. Worley) Message-ID: <87ft5j2tuz....@hobgoblin.ariadne.com>
| What cannot be controlled is the exit value if the block is not executed | i.e. if the initial evaluation of the condition is false. In that case, | the exit value is always zero. That's what the standard says it has to be. But since "if the initial evaluation of the condition is false" can be tested before getting to the while test, it is trivial to deal with this, and usually, deal with it more elegantly than having some magic exit value from a while where the body is never executed. But like Lawrence, I'm not at all sure that is what Budi actually wants. kre