Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Macromedia recommends that you use pound signs only when necessary. The following example shows the preferred method for referencing variables.
[color #990000]<cfset SomeVar = Var1 + Max(Var2, 10 * Var3) + Var4>[/color]
In contrast, note the following example, which uses pound signs unnecessarily:
[color #990000]
<cfset #SomeVar# = #Var1# + #Max(Var2, 10 * Var3)# + #Var4#>
[/color]
[color #990000]<cfif[/color] [color blue]#trim([/color]form.fieldName[color blue])# eq [/color][color green]"someValue"[/color][color #990000]>
<cfoutput>[/color]#form.fieldName#[color #990000]</cfoutput>
</cfif>[/color]
[color #990000]<cfif[/color] [color blue][b]#[/b]trim[b]([/b][/color]form.fieldName[color blue][b])#[/b] eq [/color][color green]"someValue"[/color][color #990000]>
<cfoutput>[/color]#form.fieldName#[color #990000]</cfoutput>
</cfif>[/color]
[color #990000]<cfif[/color] [color gold][b]#[/b][/color][color blue]trim[/color][b][color gold]([/color][/b]form.fieldName[color gold][b])#[/b][/color][color blue] eq [/color][color green]"someValue"[/color][color #990000]>
<cfoutput>[/color]#form.fieldName#[color #990000]</cfoutput>
</cfif>[/color]