switch (variables.SwitchParam)
{
case "1,2,3": {
parameters.foo[1]=parameters.foo[1]+1;
break; }
} // end switch
which is similar to this:
<cfswitch _expression_="#variables.SwitchParam#">
<cfcase "1,2,3">
<cfset parameters.foo[1]=parameters.foo[1]+1>
</cfcase>
</cfswitch>
This is a chopped-down snippet. There's more of course. The trouble
is that I can't get the cfscript version to take multiple parms. I've
tried a few variations. Is this not supported in cfscript'd switches?
--
--Matt Robertson--
MSB Designs, Inc.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

