Just out of curiousity, try assigning it to a variable in both cases...

<cfset dummy = foo() />
<cfset dummy2 = foo() />

I've never seen the case you're talking about, but function names are
set in the variables scope and that has caused me other hearburn on
occasion.  I wonder if something is going on with that?

On 6/9/06, Daniel Baughman <[EMAIL PROTECTED]> wrote:
> Anyone ever seen a situation like this:
>
> You define a function (some arbitrary function)
>
> <cffunction name="fun1">
>                 HI
> </cffunction>
>
>
> And then can't call it twice in a row?
>
> <cfset fun1()>
> <cfset fun1()>
>
> The second time it says that fun1 is not defined, but if you comment out the
> first call the second runs fine..
>
>
> If anyone has seen this, or is interested in how to recreate, let me know.
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243055
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