view examples/sum3input_v2.baum @ 62:80df58d240b2 default tip

merge
author meillo@marmaro.de
date Thu, 13 Nov 2008 13:19:42 +0100 (2008-11-13)
parents 6e46b106c334
children
line wrap: on
line source
# example program for baum
# http://prog.marmaro.de/baum
#
# echoes the sum and a newline afterwards
# then returns 0 to the shell
#
# see: sum3input.baum

number(0)
	sum(0)
		print(0)
			sum(0)
				create(0)
				create(0)
				create(0)
		print(99)
			number(10)