Mercurial > baum
annotate examples/tests/test_node_name_too_long.baum @ 53:036779d5da75
"sum" node clears its value now everytime it gets called
author | meillo@marmaro.de |
---|---|
date | Sun, 02 Mar 2008 16:32:52 +0100 |
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 # this program fails |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
5 # because a node has no value |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
6 # |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
7 # error code is `6' |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
8 |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
9 print(0) |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
10 thisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolong(6) |