Debian Codegraph @

examples/ctrl/ctrl_while.ck

raw
1 // while loop (opposite of until loop)
2
3 0 => int j;
4 0 => int i;
5
6 // loop
7 while( i < 5 )
8 {
9 1 +=> j;
10 1 +=> i;
11 }
12
13 // test
14 if ( j == 5 ) <<<"success">>>;