I know :-) I just mean the whole idea enforcing something etc... Don't get me wrong, I think it works fine as it is though.. It makes sense for what it is.
"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions." Visit our website at http://www.reedexpo.com -----Original Message----- From: Christopher Jordan To: CF-Talk Sent: Mon May 21 19:53:39 2007 Subject: Re: Shocked! Scope != type Robertson-Ravo, Neil (RX) wrote: > It would defeat the purpose and wonder of ColdFusion being typeless etc. > > > > > "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, > Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, > Registered in England, Number 678540. It contains information which is > confidential and may also be privileged. It is for the exclusive use of the > intended recipient(s). If you are not the intended recipient(s) please note > that any form of distribution, copying or use of this communication or the > information in it is strictly prohibited and may be unlawful. If you have > received this communication in error please return it to the sender or call > our switchboard on +44 (0) 20 89107910. The opinions expressed within this > communication are not necessarily those expressed by Reed Exhibitions." > Visit our website at http://www.reedexpo.com > > -----Original Message----- > From: Gaulin, Mark > To: CF-Talk > Sent: Mon May 21 18:26:07 2007 > Subject: RE: Shocked! > > Yeah, I wish there was an admin setting that would REQUIRE all variables > to be scoped (like VB's "Option Explicit"). Of course, I sometimes get > lazy and don't include the "variables." scope prefix, so I'd get stung > by this once in a while too, but hey, that would be a good thing. > > Mark > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, May 21, 2007 1:09 PM > To: CF-Talk > Subject: Shocked! > > I just looked at some code from another developer and noticed that they > were accessing variables in the arguments scope witout using the > ARGUMENTS. prefix to the variable name. I was about to wander over to > him and ask him why his application wasn't working when I decided I'd > better test it first. > > I was shocked to see my test function work. I just can't believe that > Adobe would even expose those variables without a scope prefix. I know > that it does a top-down search through the myriad of scopes, but this > just seems flat out dangerous. > > Was anyone else aware of this? > > - Steve > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278808 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

