Ian Skinner wrote:
> <cfoutput query="FAQ">
> <div class="FAQAnswer">
> #Evaluate(DE(FAQ.Answer))#
> </div>
> </cfoutput>
O.K.!!!! I have never really done anything with this recursive rendering
of ColdFusion variables inside of ColdFusion variables before. But this
is kind of cool to my geeky soul!!! In a very much, 'Why the hell would
you ever do this!' way
<cfset aString = "Here is some ##change_this## text.">
<cfset change_this = "(The quick brown fox jumped ##myOhMy## over the
lazy dog.)">
<cfset myOhMy = "{{You have got ##no_do_not_do_it## to be kidding!}}">
<cfset no_do_not_do_it = "[[[Stop this madness now!!!!]]]">
<cfoutput>
#aString#
<hr />
#evaluate(de(aString))#
<hr />
#evaluate(de(evaluate(de(aString))))#
<hr />
#evaluate(de(evaluate(de(evaluate(de(aString))))))#
<hr />
</cfoutput>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313771
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4