This should be simple.
This statement works:
This statement does not:
Am I writing it wrong??????????
Kevin
slanek@ssd.fsi.com
This statement works:
Code:
<CFSWITCH EXPRESSION="#lost_time_type#">
<CFCASE VALUE="1">
<CFSET interrupt = interrupt + lost_time_qty>
</CFCASE>
<CFCASE VALUE="2">
<CFSET lost = lost + lost_time_qty>
</CFCASE>
<CFCASE VALUE="3">
<CFSET delay = delay + lost_time_qty>
</CFCASE>
</CFSWITCH>
This statement does not:
Code:
<CFSCRIPT>
switch (lost_time_type)
{
case 1 :
interrupt = interrupt + lost_time_qty;
case 2 :
lost = lost + lost_time_qty;
case 3 :
delay = delay + lost_time_qty;
}
</CFSCRIPT>
Am I writing it wrong??????????
Kevin
slanek@ssd.fsi.com