summaryrefslogtreecommitdiff
path: root/tnslc/main.tnsl
blob: 1abedb3b94e8988184b575975747b71167ee4259 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
:import "c_wrap_linux.tnsl"

~uint8 str_a = "Hello World\n\0"
~uint8 str_b = "!\n\0"

/; main (int argc, ~~uint8 argv) [int]
	_printf(str_a)

	/; if (argc > 2)
		_printf(str_b)
	;/
	
	return 0
;/