'Rin ([info]rintheamazing) wrote in [info]reformat_songs,
@ 2005-03-29 09:14:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
Entry tags:children's music, computer program

Basic Bears In the Bed
10 let x=5
20 if x>1 then let b$="bears" else let b$="bear"
30 if x>1 then let s$="roll over, roll over" else let s$="I'm sleepy"
40 print x, b$, "in the bed, and the little one said", s$
50 if x=1 then goto 90
60 print "So they all rolled over, and one fell out."
70 let x=x-1
80 goto 20
90 end




(2 comments) - (Post a new comment)


[info]bopeepsheep
2005-03-29 02:41 pm UTC (link)
There were ten in the bed, surely?

(Reply to this) (Thread)


[info]rintheamazing
2005-03-29 02:52 pm UTC (link)
I was thinking of the other version, where each verse is longer, so there are only 5 of them. When I changed to the shorter-versed version, I probably should have set x to 10.

(Reply to this) (Parent)


(2 comments) - (Post a new comment)

Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…