summaryrefslogtreecommitdiff
path: root/examples/glab.nl
blob: b5dc9413ab8276f681cc449ff460a18318865bcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
i := 0;
j := 0;

while (i < 10)
{
    print i;

@bah:

    i++;
}

if (j == 0)
{
    i = 7;
    j = 1;
    goto bah;
}

print "done";