Loops/Do-while: Difference between revisions

Line 1,601:
{{works with|Caché ObjectScript}}
<lang MUMPS>DOWHILELOOP
/// Start with a value at 0. Loop while value mod 6 is not equal to 0. Each time through the loop, add 1 to the value then print it.
/// The loop must execute at least once.
set val = 0
do {
Anonymous user