> Personally, within functions I always declare the following "phony scope":
> 
> <cfset var local = StructNew() />

I'll second this. For awhile, I would create a local struct only if I was
creating several variables in my function. However, over time I found that,
if I used the local struct, I was less apt to forget to var my function
level variables. Now, I *always* create a local scope if I have local
variables.

Ben Rogers
http://www.c4.net
v.508.240.0051
f.508.240.0057
 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188752
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

Reply via email to