My Account   Contact Us    
  
» HomeProductsSupportDeveloper CommunityCompany
Use of SetVariable in CFSET
Use the equals operator in the CFSET tag instead for a speed and readibiliity increase.

Type: performance
Severity: (4)

Incorrect example
<cfset SetVariable("a", 8)>

Resolution

<cfset a = 8>
Explanation

The SetVariable function should only be used within the cfscript tag.

Sign up for our newsletter: | Subscribe with RSS: RSS
© ActivSoftware 1999 to 2005 | Privacy Statement