diff examples/helloworld.baum @ 39:96e2d58bc346

added new example program; added comments to example programs
author meillo@marmaro.de
date Sat, 01 Mar 2008 20:10:02 +0100
parents 16934645036f
children
line wrap: on
line diff
--- a/examples/helloworld.baum	Sat Mar 01 20:04:08 2008 +0100
+++ b/examples/helloworld.baum	Sat Mar 01 20:10:02 2008 +0100
@@ -1,5 +1,10 @@
 # hello world program for baum
 # http://prog.marmaro.de/baum
+#
+# prints "Hello World"
+# and returns the answer to everything
+#
+# ... what fabulous program :-)
 
 sum(0)
 	print(99)
@@ -27,3 +32,5 @@
 		number(100) #d
 	print(99)
 		number(10)  #\n
+
+	number(4)