You need break after each case:
case 0:
{
}
break;
case 1:
{
}
break;
etc...
RE:
I am having a problem with switch statement in a cfscript block. It is =
always executing the last case, no matter what happens. I have tried =
several different things and none of them seem to work. I have checked =
that the switch expression is one of the cases and the statement seems =
to disregard the variable. Any ideas?
---------------
dave fauth
[EMAIL PROTECTED]
"The opinions expressed here
are my own and not those of
DOMAIN technologies, inc."
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.