>> I learned from experience

Let me translate that: You learned the hard way. ;)

I just got done pulling my hair out trying to update a variable that wasn't
scoped. It was not being updated no matter what I did to it.

EX:
<cfif NOT isdate(returningdate) >

            <cfset returningdate= Now() >
</cfif>

returningdate would return and empty string.

It was only when I scoped it was able to manipulate it.

Live and learn.



On Mon, Mar 3, 2008 at 4:09 PM, Dominic Watson <
[EMAIL PROTECTED]> wrote:

> >
> > Dom,
> >
> > Great example....
>
>
> Lol thanks. I learned from experience and it was through exactly that
> (looping over an iterator and then calling a function that used the same
> throwaway variable name for its own loop iterator... server kept grinding
> to
> a halt for some reason :p)!
>
> --
> Blog it up: http://fusion.dominicwatson.co.uk
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300342
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to