CFLOOP  
Description

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:

  • "cfloop: index loop" on page 536
  • "cfloop: conditional loop" on page 538
  • "cfloop: looping over a date or time range" on page 539
  • "cfloop: looping over a query" on page 540
  • "cfloop: looping over a list or file" on page 542
  • "cfloop: looping over a COM collection or structure" on page 544

For more information, see "cfloop and cfbreak" in Chapter 2, "Elements of CFML," and "Populating arrays with data" in Chapter 5, "Using Arrays and Structures," in ColdFusion MX Developer's Guide.

 
Category

Flow-control tags