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, etc.

cfwhile Attribute Reference

condition boolean

A boolean condition that determines if the loop should continue.

label string

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

Fork me on GitHub