Mercurial > baum
view examples/sum3input.baum @ 42:233ac9bea4f1
switched exit code 127 to 126 (because shell returns 127 if command not found)
author | meillo@marmaro.de |
---|---|
date | Sat, 01 Mar 2008 20:41:35 +0100 |
parents | 96e2d58bc346 |
children | 6e46b106c334 |
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) input(0) input(0) input(0)