Using ColdFusion Variables

Macromedia ColdFusion variables are the most frequently used operands in ColdFusion expressions. Variable values can be set and reset, and can be passed as attributes to CFML tags. Variables can be passed as parameters to functions, and can replace most constants.

This chapter describes how to create and use ColdFusion variables. It includes the following information:

Contents

Creating variables
Variable characteristics
Data types
Using periods in variable references
Data type conversion
About scopes
Ensuring variable existence
Validating data
Passing variables to custom tags and UDFs

View comments in LiveDocs