> That would make less sense. The Variables scope is the local scope for any
> CF program. CFM and CFC files are both CF programs.

It just seems to make little sense to have two scopes named the same thing
which have nothing to do with each other.  It would be like me creating
two variables with the same name, but having different values.  Now that would
be confusing!

I could have variables.time in a cfc that is 4pm, but variables.time outside
a cfc which has the value of 4am, right?

If so, a scope exclusive to cfc's would seem to make more sense.
cfcVariables.time vs variables.time... instantly recognizable.

That's just the way it seems as I get started with cfc's...

Rick

> -----Original Message-----
> From: Dave Watts [mailto:[EMAIL PROTECTED]
> Sent: Saturday, June 21, 2008 10:13 PM
> To: CF-Talk
> Subject: RE: Clarification Required Concerning CFC...
> 
> > However, I *do* wish they had come up with a different name
> > for the scope exclusive to CFC's!  Maybe something
> > "varcomponent" or something.  Anything besides the name of a
> > scope already in use elsewhere!
> 
> That would make less sense. The Variables scope is the local scope for any
> CF program. CFM and CFC files are both CF programs.
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:307922
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