Hi all, I am new to CFC's and would like to start off on the right foot. My 
question is about using variables passed into a CFC. In some cases I will be 
passing single fields into the CFC i.e. (field1, field2, field3, etc) and in 
other cases I will be using ( argumentcollection=MyStructure). Now how should I 
best handle these variables in my CFC? Can I just reference them as 
arguments.field1 or should I scope all of the arguments to local variables 
first and then only reference the local variable? If I should rescope them what 
is the syntax for doing this? I apologise if this is a dumb question but I 
would just to like to get some feedback on how others do this.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215742
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to