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

CFSCRIPT

CFML is a complete web application language all on its own. However, ColdFusion also gives you a different method of using some ColdFusion functionality. This method is ColdFusion Script. ColdFusion Script is a scripting language similar in syntax to JavaScript, so developers who are proficient with JavaScript might find it to be a useful way to invoke ColdFusion functionality.

You can use ColdFusion Script to do things, such as set variable values, perform looping and conditional statements, and invoke objects. ColdFusion Script is used between opening and closing <CFSCRIPT> tags. The following code demonstrates how to create a structure using ColdFusion Script:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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