AWOL:
'Ought to be obvious', ought to be easy to explain.
And it is [...]
Clearly it isn't so easy, or it would have taken you so many fewer attempts to make your point, your second offering being 'Does "should've gone to SpecSavers" mean anything to you?'. What this tone reflects is more obvious than the difference between a do... while and a while loop.
More unsupported assertions.
How do you know this?
I may not be sufficiently fluent in C type languages to know the difference between forms of loop structures; but I know the difference between invective and advice.
Perhaps you don't. I'm getting the distinct impression that I have exhausted this resource's potential for helping me. Some advice contra the spirit of your replies -- i.e. helpful -- in the hope that it will increase its potential...
This is not helpful:
More unsupported assertions.
This would have been just about sufficient...
How do you know this?
You seem to let a desire to browbeat get in the way of any intention to help. You would find your posts will reflect a much less combative and antagonistic tone, which seem to take pleasure in belittling others, if, rather than 'asserting' that what you are replying to is an 'unsupported assertion', you ask for more information explicitly, and take care to explain what it is you're looking for. You would also find yourself posting more efficiently; it took an entire page worth of exchanges to establish that my attempt to reduce the problem to something small enough to post here had created a new problem. You could have pointed it out in just one post. You waste your own time.
You 'assert', for example...
you have explained nothing, because all you have done is described a disparity, but haven't shown any output.
The disparity is a description of the problem: I was expecting the second instance of Serial.available() to produce an integer greater than zero. It produced a zero. That was its output.
If you want to help, but feel that this isn't sufficient, you need to explain what might make for a sufficiently accounted-for 'assertion'.