Dave, Ah... But a lot of folks come to CFCs from using cfincludes. Modular code from many legacy CF applications really means stringing together procedural code by including various files. In fact, a lot of display code is still written like this (and why not). So from that standpoint these folks have the same wonderment as folks who were moving to custom tags in cf 5 - except cfcs are more complicated.
-mark Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -----Original Message----- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Saturday, June 21, 2008 10: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. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:307937 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

