Jump to content

Execute Cases 1 After another


Recommended Posts

Hi, I want to make something complicated (it is maybe simple) and I am not sure how this can happen. This is what I want :

Switch $var1
Case 1
If $var2 = "" Then
Function1()
Else
Function2()
EndIf

Case 2
If $var3 = "" Then
Function1()
Else
Function2()
EndIf

I want to make it do as follows:

1) Execute Case 1 and right after that > (2)

2) Execute Case 2 ....

....

10) Execute Case 10

No matter what , to keep executing them . Is there anything like that ? Maybe correct construction ? Thanks in Advance :)

Edited by DareDev1l
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...