summaryrefslogtreecommitdiff
path: root/doc/colm/code/figure_44.lm
blob: fab421edb004a59106a2c236d378173db25b23cb (plain)
1
2
3
4
5
6
7
8
9
10
i: int = 0
j: int = i

while ( i < 10 ) {
    if ( i * ( 10 - i ) < 20 ) {
        print ( "hello ", i, ' ', j , '\n' )
        j = j+ 1
    }
    i = i + 1
}