JScript (like most other languages borrowing from C) has the switch statement, which seems appropriate for what you want to do, especially if you are testing for more than three cases. Documentation can be found here.
Elseif? - by Pizzaboy861 on 05-09-2007 at 04:48 PM RE: Elseif? - by Felu on 05-09-2007 at 04:52 PM RE: Elseif? - by Adeptus on 05-09-2007 at 06:37 PM RE: Elseif? - by Dennis Mike on 05-09-2007 at 09:30 PM RE: RE: Elseif? - by deAd on 05-09-2007 at 10:12 PM