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>
Get Programming ColdFusion now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.