I can top that with a
<cfset var1 = var1 + 0>
It will make my "things not to do in CF" blog column eventually.
That's not the best part of the snippet of code in waiting.
But yeah, feeling your pain. Keep in mind that ergonomic wrist rest
pads that span the width of the keyboard also make a good head-bashing
target. Does less damage that way. Other people's code causes enough
mental pain; there's no need to add physical pain to it. :)
On 7/22/05, James Holmes <[EMAIL PROTECTED]> wrote:
> Wow. I'd like to know what the crackhead thought this would acheive:
>
> <CFSET EVENTURL = EVENTURL>
>
> On 7/22/05, Rick Root <[EMAIL PROTECTED]> wrote:
>
> > For example, here is a snippet of his code that exemplifies that type of
> > programming that he did:
> >
> > ------------------------------------------------------------
> > <CFIF #FindNoCase("http://", EVENTURL)# OR
> > #FindNoCase("https://", EVENTURL)#>
> > <CFELSEIF #Trim(EVENTURL)# IS "">
> > <CFSET EVENTURL = EVENTURL>
> > <CFELSE>
> > <CFSET EVENTURL = "http://" & EVENTURL>
> > </CFIF>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212602
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