Language Reference Features  
 
 

The CFML Language Reference provides descriptions, syntax, usage, and code examples for:

  • CFML Tags
  • CFML Functions
  • JavaScript objects used when implementing web distributed data exchange (WDDX)
 
 
  Using Examples  
 
 

Each tag and function features a runnable example, using code drawn from the snippets directory (found in webroot\cfdocs\snippets). The display and usage for these examples differs depending on the delivery mechanism:

  • Printed and PDF documentation -- Whenever possible, the printed documentation displays a complete example. In some cases, extraneous code has been removed to maintain clarity and to conserve space.
  • HTML documentation -- Each tag or function displays an examples button that you click to execute that element. The online example displays two frames: one that runs the example, and one that displays the associated code. In some cases, code examples are view-only due to logistic, administrative, or security reasons.

    The examples button uses a relative reference to access the page that runs the code snippet. Snippets will not run if files have been moved or if ColdFusion Server is not running.

    When running examples using ColdFusion Studio on a workstation that isn't running ColdFusion Server, you will need to specify the ColdFusion Server location using the Browse tab on the Settings dialog box.

 
 
  Using Code Snippets  
 
 

The snippets directory contains example code for every CFML tag and function. You can browse this directory to find examples of CFML tag and function usage in many different contexts.



 
 
BackUp LevelNext
 
 

allaire     AllaireDoc@allaire.com
    Copyright © 1998, Allaire Corporation. All rights reserved.