^
pop-out codeShare
^
<cfset num = 3 />
<cfscript>
switch (num) {
case (
0
):
WriteOutput(
"first"
);
case (
3
):
WriteOutput(
"second"
);
case (
5
):
WriteOutput(
"third"
);
}
</cfscript>