Title: Message
<cfcomponent>
 
    <cffunction name="getEggs">
        <cfset var eggCount=totalEggs()>
        <cfset var getEggsReturn="I have #eggCount# eggs left.">
 
        <cfreturn getEggsReturn>
    </cffunction>
 
    <cffunction name="totalEggs">
        <cfset var totalEggsReturn=12>
        <cfreturn totalEggsReturn>
    </cffunction>
 
</cfcomponent>
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David K. McCutcheon
Sent: Monday, November 17, 2003 3:05 PM
To: [EMAIL PROTECTED]
Subject: RE: [CFCDev] calling a component from within the itself when it was instantiated in the calling page

Ok, then what’s the proper cfscript syntax for a calling another method within the component you’re already in?

 

Thanks

 

DM

Reply via email to