Jump to content

Recommended Posts

ok in a program im making i have a input box that comes up and asks a person to enter a number 1-5 how can i make it so that if their answer is 1 it will GoTo the section that i want it to or if they pick 2 how can i make it GoTo another section? in other words wats the command for GoTo since it no longer exists...

question answered by myself lol check next post for next question

Edited by alatedseraph
Link to post
Share on other sites

$var = inputbox("Input", "Please Enter a Value from 1 - 5")
     If $var < 1 or $var > 5 Then
          MsgBox(0, "Error", "Invalid Value" & @CRLF & "Click OK To Exit")

     Case $var = 1
          'Code goes here

     Case $var = 2
          'Code goes here

     Case $var = 3
          'Code goes here

     Case $var = 4
          'Code goes here

     Case $var = 5
          'Code goes here


That takes care of that part, but i'm not sure what you're wanting with the music repeating

We have enough youth. How about a fountain of SMART?

Link to post
Share on other sites

read help file.

search something that begins with So and ends in ay

$hint$: Sou--P-ay :ph34r:

My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote]
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...