More fun is working with code from people just learning CF. Here's one
of my favorites:
<cfif len(trim(url.myVar))>
<cfset myVar=url.myVar>
<cfelse>
<cfset myVar="">
</cfif>
-----Original Message-----
From: Peterson, Chris [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 06, 2006 9:11 AM
To: CF-Talk
Subject: Old code woes
Do you ever have to re-visit and revamp projects you did when you first
started working with Coldfusion? I am making a few changes to a report
almost 5 years old, and I come across this little gem. Thought you all
might enjoy a laugh this morning.
#Replace(" X ", "?", """", "ALL")#
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245508
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54