summaryrefslogtreecommitdiff
path: root/examples/basic.tnsl
blob: b19532f020ea6450071ab217547ee36b54ec0b8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/; main [int]

	;int i = 0
	;float f = 0.25

	/; loop (i < 2)

		;i = i + 1
		
		/; if (f < 1)
			
			;i = i + 1
			;break
		;/
	;/

	;return i
;/