summaryrefslogtreecommitdiff
path: root/tests/l.stage
blob: 4c2b8e172441f2812a5aedb1bb2d9b988d3d3401 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
situation <<start>>
{
	enter
	{
		x = 5;
		while x > 0 do
		{
			display( x );
			x-=1;
		}

		for each j in [1, 2, 4, 8, 16, 32] do
		{
			display( j );

			if j == 16 then
			{
				goto(<<b>>);
			}
		}

		display("Hiya");
	}
}

situation <<b>>
{
	enter
	{
		display("b!");
	}
}