Switch case statement 
Author Message
 Switch case statement

Is it possible to run a condition in switch case statement
Such as:

Switch Case Formname
 Case "Watches"
   If .......

Thank you in advance



Fri, 31 Oct 2003 23:49:24 GMT  
 Switch case statement
It's Select Case, not Switch Case. JScript on the brain? -) Yes, you can
run conditional code under tthe different cases, but why couldn't the
condtions that the if statement is handling be specified in another
case?


| Is it possible to run a condition in switch case statement
| Such as:
|
| Switch Case Formname
|  Case "Watches"
|    If .......
|
|
|
| Thank you in advance



Sat, 01 Nov 2003 00:46:01 GMT  
 Switch case statement
yes...

--
Michael Harris
Microsoft.MVP.Scripting
--

Please do not email questions - post them to the newsgroup instead.
--


Quote:
> Is it possible to run a condition in switch case statement
> Such as:

> Switch Case Formname
>  Case "Watches"
>    If .......

> Thank you in advance



Sat, 01 Nov 2003 00:57:58 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Switch/Case with multiple tests in case

2. case and switch

3. Using switch/case

4. Case, switch, etc., multiple options

5. switch...case question

6. Switch..case

7. Case statements in Postscript

8. Select Case statement in VBScript

9. Need Help Using the Case Statement

10. Case Statement based on first letter of an Inputed variable

11. Select Case Statement

12. If statement in select case problem

 

 
Powered by phpBB® Forum Software