Also, be careful using "var" as a variable name.  It is a reserved 
keyword in ColdFusion.  As Scott mentioned, you can make a variable 
local to a function by calling it local.varname.  You can also make it 
local to a function by using the "var" keyword when you create the variable:

<cfset var foo = "bar">

HTH,
Carl



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351206
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to