view examples/tests/test_invalid_node.baum @ 50:0870e261bf28

added first implementation of "if" and "while" (but they are not perfect yet)
author meillo@marmaro.de
date Sun, 02 Mar 2008 15:54:35 +0100
parents c7dca4a1dc37
children
line wrap: on
line source

# example program for baum
# http://prog.marmaro.de/baum
#
# this program fails
# because `invalidnode' in no valid node
#
# error code is `4'

print(0)
	invalidnode(0)