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

Chapter 14. Conditional Logic Problems a... > CFML Conditional Logic Overview

CFML Conditional Logic Overview

CFML provides several different sets of tags that provide conditional logic on a page. Table 14.1 lists them.

Table 14.1. CFML Flow Control Tags
Tag Group Purpose
CFIF/CFELSEIF/CFELSE Evaluates any expressions and branches based on the result.
CFSWITCH/CFCASE/ CFDEFAULTCASE Evaluates an expression and branches to the code block representing that value, if any. The default case is chosen if no other case is a match.
CFLOOP/CFBREAK Repeatedly loops through the same block of code, depending on the result of one of five potential exit criteria.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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