cfwhile

Loops while the condition is true or until break.

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

 while(condition) { }

This tag requires Lucee. Not supported on Adobe ColdFusion.

Attribute Reference for the cfwhile tag

condition

Required: No
A boolean condition that determines if the loop should continue.

label

Required: No
Used to address loop from break or continue statement instead of innermost loop.


Fork me on GitHub