cfset

Overview ColdFusion Open BlueDragon Lucee

Sets a value in CFML. Used to create a variable, if it does not exist, and assign it a value. Also used to call functions.

Attributes

Name Required Type Default Description
noname No Content of the tag set
var No 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.
yourvariablename No 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.