Fun With Basic

by Matthew Belinkie — Sun, Nov 30, 2008, 12:44pm
Article Tools:
  • Twitter
  • Facebook
  • Digg
  • StumbleUpon
  • Reddit
  • email
Print This Post Leave a Comment
10   PRINT “Do you have a problem? (Y or N)”

20   INPUT $A

30   IF $A = “N” GOTO 120

40   PRINT “Can someone else help? (Y or N)”

50   INPUT $B

60   IF $B = “Y” GOTO 120

70   PRINT “Can you find them? (Y or N)”

80   INPUT $C

90   IF $C = “N” GOTO 120

100 PRINT “Maybe you can hire… the A-Team.”

110 GOTO 130

120 PRINT “You cannot hire the A-Team.”

130 END
Article Tools:
  • Twitter
  • Facebook
  • Digg
  • StumbleUpon
  • Reddit
  • email
Print This Post Leave a Comment

7 Comments on “Fun With Basic

  1. lee on Sun, 30th Nov 2008 1:02 pm 

    I love it when a program comes together.

  2. mlawski on Sun, 30th Nov 2008 5:22 pm 

    Oh man! I made a basic joke in one of my future posts!

    Well, when it comes up, be aware I didn’t steal it from Belinkie.

    Really! (Also, mine doesn’t actually work as a program, so I guess Belinkie wins this round. Next time, Gadget! Next time!)

  3. Surdo on Mon, 1st Dec 2008 2:45 am 

    I lol’ed.

  4. Rob on Mon, 1st Dec 2008 2:45 am 

    10 PRNIT “Why didn’t John McCain pay taxes on his winnings at the craps table?”
    ?SYNTAX ERROR

  5. Professor Coldheart on Tue, 2nd Dec 2008 3:23 pm 

    Definitely need a GOSUB after line 70, in which the user can check out the hook while a DJ revolves it.

  6. H-S-D-O on Fri, 12th Dec 2008 3:28 am 

    I dont get it

  7. Fun With Basic | Sharpe's Opinion on Sun, 14th Dec 2008 10:47 am 

    [...] Fun With Basic [...]

Subscribe to Comments

Subscribe to These Comments with RSS

Subscribe via