alatedseraph Posted September 22, 2004 Share Posted September 22, 2004 (edited) 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 September 22, 2004 by alatedseraph Link to comment Share on other sites More sharing options...
alatedseraph Posted September 22, 2004 Author Share Posted September 22, 2004 hehe another question =D how do i add music that will play again and again after it finishes? Link to comment Share on other sites More sharing options...
alatedseraph Posted September 22, 2004 Author Share Posted September 22, 2004 someone answer me plz... its the only part of my program that i have left Link to comment Share on other sites More sharing options...
sykes Posted September 22, 2004 Share Posted September 22, 2004 $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") EndIf Select 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 EndSelect 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 comment Share on other sites More sharing options...
the_lord_mephy Posted September 23, 2004 Share Posted September 23, 2004 read help file. search something that begins with So and ends in ay $hint$: Sou--P-ay 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 comment Share on other sites More sharing options...
alatedseraph Posted September 24, 2004 Author Share Posted September 24, 2004 if u even paid attention to wat i was saying i wanted the music to play over and over again not just 1 time i know about soundplay() i want it so that it plays it again and again Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now