PDA

View Full Version : GEEK!!!!


mr_G
25-01-2006, 10:57:16
1 Does COMMENT text is **********************************
2 and COMMENT text is * *
3 and COMMENT text is * Beer -- '99 bottles of beer' *
4 and COMMENT text is * *
5 and COMMENT text is * K. D. Olsen 2004/02/20 *
6 and COMMENT text is * *
7 and COMMENT text is * kent@nettally.com *
8 and COMMENT text is * *
9 and COMMENT text is **********************************
10 and MOVE 88 to BOTTLES
11 and LABEL this line with
LOOP
12 and DISPLAY BOTTLES
13 and DISPLAY " bottles of beer on the wall."
14 and DISPLAY NEW LINE count is 1
15 and DISPLAY BOTTLES
16 and DISPLAY " bottles of beer."
17 and DISPLAY NEW LINE count is 1
18 and DISPLAY "Take one down, pass it around."
19 and DISPLAY NEW LINE count is 1
20 and SUBTRACT 1 from BOTTLES
21 and MOVE DIFFERENCE to BOTTLES
22 and DISPLAY BOTTLES
23 and " bottles of beer on the wall."
24 and DISPLAY NEW LINE count is 2
25 and IF BOTTLES > 0
do GO TO line labeled LOOP
26 and DISPLAY "No more bottles. sigh...."

MoSe
25-01-2006, 12:20:12
why 88?

Drekkus
25-01-2006, 13:07:43
why not start at 250.000.000

Immortal Wombat
25-01-2006, 13:38:51
Which language is that? I'm mentally translating it to BASIC.

mr_G
25-01-2006, 13:39:18
I don't know
I'm not good at Geek

C.G.B. Spender
25-01-2006, 17:28:54
Looks like the queen of program languages to me.
The elegant move-statement! Subtract! Aaaaaah

MoSe
25-01-2006, 17:51:42
the drag-queen of program languages?
like that ForTransexuals?