H (Hybrid) Language - v0.03, by Dr. Herong Yang
"do...while" Statement - Not Supported
This section describes why 'do...while' statement is not supported in H language.
"do...while" statements are not supported in H language, because of two reasons.
1. "do...while" statements can be easily replaced by $while statements.
2. $while statements have better readability than "do...while" statements.
Below is syntax of a $while loop that works like "do...while" loop:
$while $true, ( ... $if !condition, break; );
Table of Contents