MACROMEDIA COLDFUSION MX 61-CFML Reference page 459

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

</tr>
</cfloop>
</table>
</cfoutput>
For more information and code examples, see
in Developing ColdFusion MX Applications.
Example
<!--- This example shows the use of DE and Evaluate --->
<h3>DE Example</h3>
<cfif IsDefined("FORM.myExpression")>
<h3>The Expression Result</h3>
<cftry>
<!--- Evaluate the expression --->
<cfset myExpression = Evaluate(FORM.myExpression)>
<!--- Use DE to output the value of the variable, unevaluated --->
<cfoutput>
<I>The value of the expression #Evaluate(DE(FORM.MyExpression))#
is #MyExpression#.</I>
</cfoutput>
<!--- specify the type of error for which we are searching --->
<cfcatch type = "Any">
<!--- the message to display --->
<h3>Sorry, there's been an <B>Error</B>.
Try a simple expression, such as "2+2".</h3>
<cfoutput>
<!--- and the diagnostic message from ColdFusion Server --->
<p>#cfcatch.message#
</cfoutput>
</cfcatch>
</cftry>
</cfif>
Chapter 4, "Using Expressions and Pound Signs,"
DE
459

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents