Hey Bob,

Nope.  Silly example follows:

<cfcomponent>

<cffunction name="add">
  <cfargument name="numOne">
  <cfargument name="numTwo">
  <cfreturn numOne + numTwo />
</cffunction>

<cffunction name="addTax">
  <cfargument name="amount">
  <cfargument name="rate">

  <cfreturn add(amount, amount * rate) />
</cffunction>

</cfcomponent>

-Joe

On 2/16/06, Robert Everland III <[EMAIL PROTECTED]> wrote:
> I want to call one of the functions I have created in my cfc from another 
> function in the same cfc. Do I need to createobject of the cfc in itself?
>
>
>
> Bob
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232429
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to