adamgal 0 Posted November 2, 2004 can I put more than one statement in each case? Share this post Link to post Share on other sites
SlimShady 1 Posted November 2, 2004 Yes. Example: Select Case @DesktopWidth = "1024" AND @DesktopHeight = "768" ;Some code Case @DesktopWidth = "800" OR @DesktopWidth = "1208" ;Some code EndSelect Share this post Link to post Share on other sites
MHz 80 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 Share this post Link to post Share on other sites