adamgal Posted November 2, 2004 Share Posted November 2, 2004 can I put more than one statement in each case? Link to comment Share on other sites More sharing options...
SlimShady Posted November 2, 2004 Share Posted November 2, 2004 Yes. Example: Select Case @DesktopWidth = "1024" AND @DesktopHeight = "768" ;Some code Case @DesktopWidth = "800" OR @DesktopWidth = "1208" ;Some code EndSelect Link to comment Share on other sites More sharing options...
MHz Posted November 2, 2004 Share Posted November 2, 2004 Here is a simple example that I have used recently. As for this, I would have to say yes. Select Case $width = '640' $x = '469' $y = '304' Case $width = '800' $x = '619' $y = '449' Case $width = '1024' $x = '840' $y = '614' Case $width = '1280' $x = '1084' $y = '844' Case $width = '1600' $x = '1084' $y = '844' EndSelect 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