baum
annotate examples/sum3input_v2.baum @ 47:c31b5bb6d493
merged header files into only one (removed actions.h)
author | meillo@marmaro.de |
---|---|
date | Sun, 02 Mar 2008 10:34:09 +0100 |
parents | |
children | 6e46b106c334 |
rev | line source |
---|---|
meillo@39 | 1 # example program for baum |
meillo@39 | 2 # http://prog.marmaro.de/baum |
meillo@39 | 3 # |
meillo@39 | 4 # echoes the sum and a newline afterwards |
meillo@39 | 5 # then returns 0 to the shell |
meillo@39 | 6 # |
meillo@39 | 7 # see: sum3input.baum |
meillo@39 | 8 |
meillo@39 | 9 number(0) |
meillo@39 | 10 sum(0) |
meillo@39 | 11 print(0) |
meillo@39 | 12 sum(0) |
meillo@39 | 13 input(0) |
meillo@39 | 14 input(0) |
meillo@39 | 15 input(0) |
meillo@39 | 16 print(99) |
meillo@39 | 17 number(10) |