Ok, thanks guys. I'm still trying to digest everything.

I'm working on a script.

Let's call it script.cfm

At the begining of script.cfm, I declare the variable userID

<cfset userID = "#fooNum#">

This is used for a few processes and eventually I call a UDF. One of
the arguments for the UDF is 'userID'

<cfset dnsCreateResults = application.dnsCreate.dnsCreate(
                                                        userID="#userID#",
                                                        domain="#domain#",
                                                        subFolder="#subFolder#",
                                                        
redirectURL="#redirectURL#",
                                                        unique="#unique#")>

Within that UDF, I also declare userID

<cfset var userID = "#arguments.userID#">


When I run the script, it tells me I've declared userID twice. I
thought 'var' scoped variables were local and used only within that
function?

-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

Reply via email to