> <cfcomponent>
> <cfscript>
>       function myFunc...
>       return resultVar
> </cfscript>
> 
> That method nets "function myFunc not found".

It's been a while since I've played with CFC's, but from what I 
remember, that should work.  Are you calling object.myfunc()?

> That method gets me a "variable myArg is undefined" message, curiously
> enough referencing the cfreturn line of code.  It seems the argument passes
> muster when it enters the function but can't be called in the return call?

IIRC, cfscripts always error at the last line of the function, or the 
first line of the script if it's not a function.  But I could be 
completely off my rocker, because that just doesn't sound right.

--Ben


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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