• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

DE

Synopsis

                   DE(string)

DE( ) (for delay evaluation) is used with the Evaluate( ) and IIF( ) functions to allow you to pass a string without having it evaluated. DE( ) returns string enclosed within double quotation marks. The following example shows the DE( ) function used in conjunction with the Evaluate( ) function:

<cfset MyVar = "3 * 3">
   
<cfoutput>
MyVar = #MyVar#
<p>
DE(MyVar): #DE(MyVar)#<br>
Evaluate(MyVar): #Evaluate(MyVar)#<br>
Evaluate(DE(MyVar)): #Evaluate(DE(MyVar))#
<p>
All together:<br>
#Evaluate(DE(MyVar))# is #Evaluate(MyVar)#
</cfoutput>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint