baum

diff examples/tests/test_no_value.baum @ 43:c7dca4a1dc37

added test programs; added another example program
author meillo@marmaro.de
date Sat, 01 Mar 2008 21:13:12 +0100
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/examples/tests/test_no_value.baum	Sat Mar 01 21:13:12 2008 +0100
     1.3 @@ -0,0 +1,10 @@
     1.4 +# example program for baum
     1.5 +# http://prog.marmaro.de/baum
     1.6 +#
     1.7 +# this program fails
     1.8 +# because a node has no value
     1.9 +#
    1.10 +# error code is `6'
    1.11 +
    1.12 +print(0)
    1.13 +	number