But if ya only want it printed 10 times, you need a counting algorithm for that... I WIN! :cool:
10 COLOR 5
20 CLS
30 LET x = INT(RND * 18) + 1
40 LET y = INT(RND * 76) + 1
50 FOR a = 1 to y
60 PRINT;
70 NEXT a
80 PRINT " ";
90 LET C = C + 1
100 IF C > X THEN PRINT "BUMP" ELSE GOTO 80
110 END
I forget what number pink is... plus my stupid school drags out QBASIC for almost two entire years, so I'm sure there are better ways of doing this that I haven't learned. Not even sure if it actually works, because I just accidentally typed "Is Greater Than" in that FOR/NEXT, instead of using the symbol--a good sign that I'm feeling insane today. Oh well...
Heh, the worst thing about my class was the teacher. Everything had to be "efficient," and she'd make us do inane little things that would save, [i]maybe[/i], on a very slow PC, one nanosecond of computing time. IT'S GODDAMN QBASIC ON A DELL!
I can't wait until I get into the languages that are actually useful. QBASIC is good for learning the basics (lol), but it shouldn't take up two years.
Comments
[Edit]Almost forgot... girl-on-girl BUMP.
Damn, man! It's been ages...
*Bump*
Regards,
Morden
u
m
p
[B]Bring Us More Peanuts! [/B][/QUOTE]
Salted, dry, or honey-roasted? :confused:
*Bump*
Regards,
Morden
put "Bump"
end for
CLS
FOR a = 1 to 10
PRINT "bump"
NEXT a
END
20 GOTO 10
much easier :)
And honeyroasted for today please.
10 COLOR 5
20 CLS
30 LET x = INT(RND * 18) + 1
40 LET y = INT(RND * 76) + 1
50 FOR a = 1 to y
60 PRINT;
70 NEXT a
80 PRINT " ";
90 LET C = C + 1
100 IF C > X THEN PRINT "BUMP" ELSE GOTO 80
110 END
I forget what number pink is... plus my stupid school drags out QBASIC for almost two entire years, so I'm sure there are better ways of doing this that I haven't learned. Not even sure if it actually works, because I just accidentally typed "Is Greater Than" in that FOR/NEXT, instead of using the symbol--a good sign that I'm feeling insane today. Oh well...
Heh, the worst thing about my class was the teacher. Everything had to be "efficient," and she'd make us do inane little things that would save, [i]maybe[/i], on a very slow PC, one nanosecond of computing time. IT'S GODDAMN QBASIC ON A DELL!
put"What would you like to do?"
get bump
if bump = "bump" then
put"Bump"
else
put "bump+1"
end if
Damn Turing is easy.
I cant wait till VB next year.
Bump
mark "bump"
ctrl + c
ctrl + v ten times
???