calling a cffunction from another cffunction
i figured this would work, it doesn't throw an error but it doesn't create a log entry either. what am i doing wrong?
<cfcomponent>
<cffunction name="doSomething">
<cfset var logThis="create a new log entry">
<cfscript>
logSomething(logThis);
</cfscript>
</cffunction>
<cffunction name="logSomething">
... some code i know works...
<cffile action="append" file="#localFile#" output="#txtVar#" addNewLine="yes">
</cffunction>
</cfcomponent>
thanks
