Mercurial > baum
annotate examples/return.baum @ 57:21ff1783f640
using function pointers now, instead of a large if-else
author | meillo@marmaro.de |
---|---|
date | Wed, 25 Jun 2008 09:20:16 +0200 |
parents | c7dca4a1dc37 |
children |
rev | line source |
---|---|
43
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
1 # example program for baum |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
2 # http://prog.marmaro.de/baum |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
3 # |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
4 # returns the exit code `4' to the shell |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
5 |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
6 number(4) |