progs/loops.while
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Wed, 04 Dec 2013 01:51:22 +0000
changeset 223 e4b29b57f6a3
parent 207 f824e1331fc6
child 275 618c7640cf66
permissions -rw-r--r--
added

start := 1000;   // start value
x := start;
y := start;
z := start;
while 0 < x do {
 while 0 < y do {
  while 0 < z do { z := z - 1 };
  z := start;
  y := y - 1
 };     
 y := start;
 x := x - 1
}