Overview ColdFusion Open BlueDragon Lucee

Evaluates a passed expression and passes control to the cfcase tag that matches the expression result. You can, optionally, code a cfdefaultcase tag, which receives control if there is no matching cfcase tag value.


Name Required Type Default Description
break No Flag to determine if a match is found whether or not to stop when found, or drop through to the next one if set to false.
expression Yes String CFML expression that yields a scalar value. CFML converts integers, real numbers, Booleans, and dates to numeric values. For example, True, 1, and 1.0 are all equal.