I see what you're saying.

I guess I just haven't had to use the various scopes in a way
that brought the variables scope that much in focus...

> -----Original Message-----
> From: Dave Watts [mailto:[EMAIL PROTECTED]
> Sent: Saturday, June 21, 2008 11:27 PM
> To: CF-Talk
> Subject: RE: Clarification Required Concerning CFC...
> 
> > It just seems to make little sense to have two scopes named
> > the same thing which have nothing to do with each other.
> 
> This is true for any two separate CF programs. Each CF program has its own
> local scope. The same is true for CFML custom tags.
> 
> > I could have variables.time in a cfc that is 4pm, but
> > variables.time outside a cfc which has the value of 4am, right?
> 
> Yes, because the CFC is a separate program. I could have variables.time in a
> CFM file, and variables.time outside that file, and those would be two
> separate variables. Again, this is the same for CFML custom tags. Each file
> has its own local variables scope. It's been like that since CF3.



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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307928
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