cfscript continue does not work
Brought to you by:
smithos
Contact info
Andrew Penhorwood
apenhorwood@kaleo.biz
I have some code that uses the cfscript command continue. When this code runs on smith the process start to just spin. (using alots of CPU but not doing anything).
I have a reproducible test case here
<cfscript>
cnt = 0;
for(x=0;x LT 10;x=x+1)
{
if((x EQ 3) or (x EQ 5) or (x EQ 7)) { continue; } // skip counter
cnt = cnt + 1;
}
</cfscript>
<cfoutput>
Counter: #cnt#
</cfoutput>
Smith should either include continue as a command or throw an error.