Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help with ELSE
#11
Elseif is okay if you are evaluating different variables, but case statements are better if it's just branching from one value.
Reply
#12
I do it like this...

Code:
input "Do you want to play a math game"; reply$

select case left$(lcase$(reply$) , 1)
  case "y"
    goto blahblahblah:
  case "n"
    print "O.K."
  case else
    end
end select
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#13
Will all the new users please look at the date of the last post? It's getting annoying when I log on to find some issue that is dead and buried in the past is raised again to the top of the list. Wildcard, is there anything that can be done to alert newbies when they join???
Reply
#14
Quote:Will all the new users please look at the date of the last post? It's getting annoying when I log on to find some issue that is dead and buried in the past is raised again to the top of the list. Wildcard, is there anything that can be done to alert newbies when they join???

Where are those 'holy thread resurrection batman!' pics when you need one?
Reply
#15
Holy thread resurrection, batman!
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#16
If ever there was a way to get kicked out of a forum straight away it would be this:

Quote:f*** you!
Reply
#17
miss those unwanted sexual advances.

(Okay, I got my really bad joke out of my system, at least for the next few days. I'm better now.)
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Reply
#18
sad... I expect no more crap from you for at least 1 week :wink:
Reply
#19
.
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Reply
#20
Well, I thought it was funny :lol:
am an asshole. Get used to it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)