baum

view examples/sum3input_v2.baum @ 58:f5f06d6f62b3

made Makefile much simpler (installs now to /usr/local)
author meillo@marmaro.de
date Wed, 25 Jun 2008 11:09:14 +0200
parents 96e2d58bc346
children
line source
1 # example program for baum
2 # http://prog.marmaro.de/baum
3 #
4 # echoes the sum and a newline afterwards
5 # then returns 0 to the shell
6 #
7 # see: sum3input.baum
9 number(0)
10 sum(0)
11 print(0)
12 sum(0)
13 create(0)
14 create(0)
15 create(0)
16 print(99)
17 number(10)