CFScript: Difference between revisions

Content deleted Content added
Doggum (talk | contribs)
Doggum (talk | contribs)
Line 103:
}
</pre>
=== Switch ===
switch(car) {
case "Nissan":
WriteOutput("I own a Nissan");
break;
case "Toyota":
WriteOutput("I own a Toyota");
break;
default:
WriteOutput("I'm exotic");
}
 
== Differences from JavaScript ==