cfdocs

getVariable

Retrieves value of a variable

getVariable(name)
returns any

Argument Reference

Name Type Required Default Description
name string Yes    

Retrieve value of a variable

a=1;
writeOutput(getVariable('a'));

Expected Result: 1