Would everyone consider this code valid? Why does section 2 not work??
In fact Why does this throw an error
<!--- section 1 --->
<cfoutput>
<cftry>
<cfset x = test() />
#preservesinglequotes(x)#
<cfcatch>error</cfcatch>
</cftry>
<!--- section 2 --->
<cftry>
#preservesinglequotes(test())#
<cfcatch>error</cfcatch>
</cftry>
</cfoutput>
<cffunction name="Test">
<cfset str = "I wan't Eating the CAT!" />
<cfreturn str />
</cffuction>
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]