584
CFML Language Reference
All of the above statements result in errors. As a general rule, never put pound signs
around function arguments.
Pound signs in general expressions
Allaire recommends that pound signs be used only where necessary. The following
example demonstrates the preferred method for referencing variables.
<CFSET SomeVar=Var1 + Max(Var2, 10 * Var3) + Var4>
It is a cleaner and more efficient method.
In contrast, note the following example, which uses pound signs unnecessarily:
<CFSET #SomeVar#=#Var1# + #Max(Var2, 10 * Var3)# + #Var4#>
Need help?
Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?
Questions and answers