baum

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 source
1 # example program for baum
2 # http://prog.marmaro.de/baum
3 #
4 # asks the user to input 3 numbers
5 # then prints the sum of them
6 # and returns the sum to the shell
7 #
8 # Attention: expect number overflow!
10 print(0)
11 sum(0)
12 create(0)
13 create(0)
14 create(0)