annotate examples/helloworld.baum @ 52:201b4603671a

documented "if" and "while" in the man page; new error code 7
author meillo@marmaro.de
date Sun, 02 Mar 2008 16:26:06 +0100
parents 96e2d58bc346
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
1 # hello world program for baum
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
2 # http://prog.marmaro.de/baum
39
96e2d58bc346 added new example program; added comments to example programs
meillo@marmaro.de
parents: 17
diff changeset
3 #
96e2d58bc346 added new example program; added comments to example programs
meillo@marmaro.de
parents: 17
diff changeset
4 # prints "Hello World"
96e2d58bc346 added new example program; added comments to example programs
meillo@marmaro.de
parents: 17
diff changeset
5 # and returns the answer to everything
96e2d58bc346 added new example program; added comments to example programs
meillo@marmaro.de
parents: 17
diff changeset
6 #
96e2d58bc346 added new example program; added comments to example programs
meillo@marmaro.de
parents: 17
diff changeset
7 # ... what fabulous program :-)
17
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
8
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
9 sum(0)
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
10 print(99)
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
11 number(72) #H
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
12 print(99)
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
13 number(101) #e
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
14 print(99)
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
15 number(108) #l
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
16 print(99)
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
17 number(108) #l
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
18 print(99)
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
19 number(111) #o
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
20 print(99)
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
21 number(32) #space
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
22
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
23 print(99)
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
24 number(87) #W
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
25 print(99)
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
26 number(111) #o
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
27 print(99)
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
28 number(114) #r
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
29 print(99)
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
30 number(108) #l
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
31 print(99)
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
32 number(100) #d
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
33 print(99)
16934645036f added example directory with hello world program
meillo@marmaro.de
parents:
diff changeset
34 number(10) #\n
39
96e2d58bc346 added new example program; added comments to example programs
meillo@marmaro.de
parents: 17
diff changeset
35
96e2d58bc346 added new example program; added comments to example programs
meillo@marmaro.de
parents: 17
diff changeset
36 number(4)