I like that better myself. Thx for sharing.
And I noticed you weren't using braces around the case statement.
Nice that I can get rid of those. Been using 'em since I learned
this.
Cheers,
--
--Matt Robertson--
MSB Designs, Inc.
[Todays Threads]
[This Message]
[Subscription]
[Fast Uns
":
parameters.foo[1] = parameters.foo[1] + 1;
break;
}
Cheers,
barneyb
> -Original Message-
> From: Matt Robertson [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 21, 2004 4:15 PM
> To: CF-Talk
> Subject: re: cfscript'd switch with multi-params?
>
>
Never mind. RTFM.
switch (variables.SwitchParam)
{
case "1": case "3": case "3": {
parameters.foo[1]=parameters.foo[1]+1;
break; }
} // end switch
Clunky, but works.
--
--Matt Robertson--
MSB Designs, Inc.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settin
3 matches
Mail list logo