view examples/sum3input.baum @ 54:6e46b106c334

updated examples to "create" instead of "input"
author meillo@marmaro.de
date Sun, 02 Mar 2008 16:43:07 +0100
parents 96e2d58bc346
children
line wrap: on
line source

# example program for baum
# http://prog.marmaro.de/baum
#
# asks the user to input 3 numbers
# then prints the sum of them
# and returns the sum to the shell
#
# Attention: expect number overflow!

print(0)
	sum(0)
		create(0)
		create(0)
		create(0)