CFSET

Used to declare, initialise or reassign a variable to a value.

Usage

<cfset>

Attributes

Attribute default required summary
YOURVARIABLENAME The name for a new variable that will be assigned the specified value, or the name of an existing variable that will be reassigned the specified value.
VAR This attribute does not take a value but by specifying VAR before the variable name will indicate this is to be a local variable, otherwise the variable is of global scope.