summaryrefslogtreecommitdiff
path: root/test/ifblock1.lm
blob: 37975299bd15efce41acad6ecf80e96b836c9ab0 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
##### LM #####
if 1
	print( '1\n' )

if 2 {
	print( '2\n' )
}

if 3 {
	print( '3\n' )
	print( '4\n' )
}

if 0
	print( '0\n' )
elsif 0
	print( '0\n' )

if 0
	print( '0\n' )
elsif 1
	print( '5\n' )

if 0
	print( '0\n' )
elsif 0
	print( '0\n' )
elsif 1
	print( '6\n' )

if 0
	print( '0\n' )
elsif 0
	print( '0\n' )
elsif 0
	print( '0\n' )
else
	print( '7\n' )
##### EXP #####
1
2
3
4
5
6
7