Sign in to follow this  
Followers 0
alatedseraph

yet another question

6 posts in this topic

#1 ·  Posted (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 by alatedseraph

Share this post


Link to post
Share on other sites



hehe another question =D how do i add music that will play again and again after it finishes?

Share this post


Link to post
Share on other sites

someone answer me plz... its the only part of my program that i have left

Share this post


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")
     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?

Share this post


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]

Share this post


Link to post
Share on other sites

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

Share this post


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
Sign in to follow this  
Followers 0