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

Chapter 18. ColdFusion Scripting > Program-Flow Statements

Program-Flow Statements

In many cases, you might want your script code to be able to behave differently at different times, based on some kind of criteria. CFScript provides two program-flow statements that you can use to accomplish this feat: the simple if..else statement and the more complicated switch..case statement.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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