| Contents > Developing ColdFusion MX Applications > Elements of CFML > Flow control |
|
|
|
|
||
ColdFusion provides several tags that let you control how a page gets executed. These tags generally correspond to programming language flow control statements, such as if, then, and else. The following tags provide ColdFusion flow control.
Tags |
Purpose |
|---|---|
|
Select sections of code based on whether expressions are True or False. |
|
Select among sections of code based on the value of an expression. Case processing is not limited to True and False conditions. |
|
Loop through code based on any of the following values: entries in a list, keys in a structure or external object, entries in a query column, an index, or the value of a conditional expression. |
|
End processing of a ColdFusion page or custom tag. |
This section provides a basic introduction to using flow-control tags. CFScript also provides a set of flow-control statements. For information on using flow-control statements in CFScript, see Extending ColdFusion Pages with CFML Scripting. For more details on using flow-control tags, see the reference pages for these tags in CFML Reference.
|
|
||
| Contents > Developing ColdFusion MX Applications > Elements of CFML > Flow control |
|
|
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/elemen18.htm