<html>
<head>
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>CFLOOP</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="Description">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">CFLOOP</td>
         <td valign="top" nowrap class="compatibility">&nbsp;</td>
      </tr>
      <tr>
         <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
      </tr>


    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Description</span>
<p>
Looping is a programming technique that repeats a set of instructions or displays output repeatedly until one or more conditions are met. This tag supports the following types of loops: 
</p>
<ul>

<li>"cfloop: index loop" on&#160;page&#160;536</li>

<li>"cfloop: conditional loop" on&#160;page&#160;538 </li>

<li>"cfloop: looping over a date or time range" on&#160;page&#160;539 </li>

<li>"cfloop: looping over a query" on&#160;page&#160;540</li>

<li>"cfloop: looping over a list or file" on&#160;page&#160;542 </li>

<li>"cfloop: looping over a COM collection or structure" on&#160;page&#160;544</li>
</ul>

<p>
For more information, see "cfloop and cfbreak" in Chapter&#160;2, "Elements of CFML," and "Populating arrays with data" in Chapter&#160;5, "Using Arrays and Structures," in ColdFusion MX Developer's Guide.
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Category</span>
<p>
Flow-control tags
</p>

         </td>
      </tr>
   </table>
   </div>

  </body>
</html>
