Thanks Peter, that's all what I suspected. I am aware of the other
considerations you mentioned.

BTW, if a method returns a function, would you use a returntype of "any"?

Thanks,

Dave Merrill

> >Tou have to do it like this:
> >--------------------------
> ><cfcomponent displayname="my_cfc">
> >
> ><cffunction name="my_function" access="private">
> >     <cfscript>
> >     //do stuff here
> >     <cfscript>
> ></cffunction>
> >
> ></cfcomponent>
> >--------------------------
> >
> >
> This is more acceptable.  Also, be sure to include output="false" and a
> returntype if you want data checking on the return.  I'd also recommend
> writing at least a short comment in the hint="" attribute.  This is
> useful is the future for documentation and well as the CFC browser
> that's builtin to CF.
>
> Don't forget to var function related variables including qry names and
> index counters.
>
> .pjf



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]

Reply via email to