Lucee Tag Reference

<cfwhile>

Simplification of the tag cfloop-condition, analog to the cfscript "while" loop.

Body

This tag must have a body.

Example

<cfwhile
[condition=boolean]
[label=string]>
</cfwhile>

Attributes

The attributes for this tag are fixed. Except for the following attributes no other attributes are allowed.
Name Type Required Description
condition boolean No condition o the expression 
label string No used to an address this loop from a "break" or "continue" statement (instead of the nearest one).