|
I just barely eyeballed the code for a second but it looks like I would add "91 CLS" to clear the screen after the user has input some information but while still leaving what they should need to guess the number on their screen.
|
# ¿ Dec 10, 2015 15:47 |
|
|
# ¿ Apr 19, 2024 08:20 |
|
Continuing to utilize this hammer; I will begin to work on my next nail. 91 CLS 141 CLS Unless I miss my guess that should leave us dealing only with the relevant prompts after we enter the loop (which is what I am kind of assuming is the object of this lesson). Edit- I guess we still probably want to see Gravity all the time. Maybe I oughta try putting that in there. Edit 2, Also add in 121 PRINT "GRAVITY= ";G Hopefully that will make it so that on each iteration of the loop it will remind our user what the gravity is (assuming they failed to guess properly) reignofevil fucked around with this message at 00:42 on Dec 11, 2015 |
# ¿ Dec 11, 2015 00:35 |
|
I don't really have any other guesses right now but I am curious; how is this program dealing with bad input? Are letters just ruled out somehow?
|
# ¿ Dec 12, 2015 00:01 |
|
FredMSloniker posted:Curiosity question: what level of programming experience do folks in the thread have already? As I mentioned earlier, I'm an old salt at BASIC, and I'm wondering if anyone taking part is learning for the first time. My interest in this LP is primarily that I have just spent about a semester learning Visual Basic as my first "taught" language (my previous experience being approx. one day messing with c++ with Code: Blocks). So it is both somewhat familiar to me but also very different since obviously it is making heavy use of GoTo and also isn't Object Oriented.
|
# ¿ Dec 13, 2015 18:02 |