baum
annotate examples/tests/test_invalid_node.baum @ 51:7d7abe88e71b
"input" node is now "create" node and can handle more than user input now
author | meillo@marmaro.de |
---|---|
date | Sun, 02 Mar 2008 16:17:18 +0100 |
parents | |
children |
rev | line source |
---|---|
meillo@43 | 1 # example program for baum |
meillo@43 | 2 # http://prog.marmaro.de/baum |
meillo@43 | 3 # |
meillo@43 | 4 # this program fails |
meillo@43 | 5 # because `invalidnode' in no valid node |
meillo@43 | 6 # |
meillo@43 | 7 # error code is `4' |
meillo@43 | 8 |
meillo@43 | 9 print(0) |
meillo@43 | 10 invalidnode(0) |