You can do a simple isDefined. Combine it with isCustomFunction to complete.

<cfif isDefined("makeCowbell") and isCustomFunction(makeCowbell)>


On Fri, Jun 18, 2010 at 10:01 AM, daniel kessler <[email protected]> wrote:
>
> I am receiving the error "Routines cannot be declared more than once", which 
> is true.  This function can be declared in multiple places so it's sort of 
> difficult to track.
>
> Is there a way I can test and check whether a function is already declared 
> (please say "yes, it's easy"?  Can I query for a list of declared functions?  
> Also, this is on a shared hosting server, if that makes any difference.
>
>
> thanks!
>
> 

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

Reply via email to