It's about 1,000 lines of stuff..

Not sure what you would want to see or check for, but here's how it's
declared and I set the userID variable within that function.  (it's
stripped out code, aka not complete)

<!--- start --->
<cfcomponent displayname="dnsCreate" hint="details.at component for
creating DNS entriesd">

        <cffunction name="dnsCreate" hint="looks up a user's profile page ID"
returntype="query" output="no">
        
                <cfargument name="userID" type="numeric" required="false"
default="0" hint="entry owner's user id" />

                <cfset var userID = "#arguments.userID#">
<!---end --->


On Wed, Jul 11, 2012 at 10:24 AM, Peter J. Farrell <[email protected]> wrote:
> Jason King said the following on 07/11/2012 10:23 AM:
>
>>
>> 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?
>>
> What does dnsCreate() look like (share the code)?
>
>
> --
> Peter J. Farrell
> OpenBD Steering Committee / Mach-II Lead Developer
> [email protected]
> [email protected]
> http://blog.maestropublishing.com
> Identi.ca / Twitter: @maestrofjp
>
> --
> online documentation: http://openbd.org/manual/
> http://groups.google.com/group/openbd?hl=en

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

Reply via email to