###Keyword###
Switch...Case...EndSwitch

###Description###
Conditionally run statements.

###Syntax###
<b>Switch</b> &lt;expression&gt;
	<b>Case</b> &lt;value&gt; [To &lt;value&gt;] [,&lt;value&gt; [To &lt;value&gt;] ...]
		<i>statement1</i>
		...
	[<b>Case</b> &lt;value&gt; [To &lt;value&gt;] [,&lt;value&gt; [To &lt;value&gt;] ...]
		<i>statement2</i>
		...]
	[<b>Case</b> Else
		<i>statementN</i>
		...]
<b>EndSwitch</b>



###Parameters###
@@ParamTable@@
&lt;expression&gt;
	An expression that returns a value.  This value is then compared against the values of each case until a match is found.  
&lt;value&gt; To &lt;value&gt; 
	The case is executed if the expression is between the two values.
&lt;value&gt; 
	The case is executed if the expression matches the value.
@@End@@


###Remarks###
If no cases match the Switch value, then the Case Else section, if present, is executed.  If no cases match and Case Else is not defined, then none of the code inside the Switch structure will be executed.

Switch statements may be nested.

###Related###
<a href="If.htm">If...Then</a>, <a href="IfElseEndIf.htm">If...Else...EndIf</a>, <a href="Select.htm">Select...EndSelect</a>, ContinueCase


###Example###
@@IncludeExample@@
