FYI the same principle applies when using CFQuery in case you hadn't noticed. You don't need to scope the variable to the query as it's set locally.
!k -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, May 21, 2007 11:09 AM 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278779 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

