On Fri, 24 Dec 2004 02:31:02 -0500, Jim Davis <[EMAIL PROTECTED]> wrote: > Personally, within functions I always declare the following "phony scope": > > <cfset var local = StructNew() /> > > Then all of my local variables are prefixed with "local" as in: > > <cfset local.SomeThing = "" />
That's a reasonable compromise, in my opinion, since "local" doesn't have any fancy characters identifying it as a 'local' variable and then, thereafter, you are explicitly qualifying the 'scope' of all your variables. There's nothing artificial about your suggestion - I like it! -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 6 invites to give away! "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - CFDynamics http://www.cfdynamics.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188740 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

