• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. CFML Basics > Using Looping

Using Looping

Loops are another fundamental language element supported by most development platforms. Loops do just that—they loop. Loops provide a mechanism with which to repeat tasks, and ColdFusion supports several types of loops, all via the <cfloop> tag:

  • Index loops, used to repeat a set number of times

  • Conditional loops, used to repeat until a specified condition becomes FALSE

  • Query loops, used to iterate through database query results

  • List loops, used to iterate through a specified list

  • Collection loops, used to loop through structures


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint