AWOL:
This is not the same as a while loop - a "do..while" will always execute the body of the loop at least once, but a "while" may not execute the body of the loop at all.
A do/while loop provides the behaviour requested by the OP - a while loop does not.