Well, I've isolated the issue a bit more.  I guess what kills me is I
can't do this:

<cffunction>
  <cfinclude template="funcBody.cfm" />
  <!--- where 'funcBody' contains all the
  code for the function --->
</cffunction>

Instead, I have to do this:

<cffunction>
  <cfargument ... />
  <cfset var ... />
  <cfset var result />
  <cfinclude template="funcBody.cfm" />
  <!--- where 'funcBody' only runs some
  code; make sure to use var'ed variables
  & use a predetermined return --->
  <cfreturn result />
</cffunction>

The first would be a bit more autonomous.



-----Original Message-----
From: Ben Nadel [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 19, 2007 5:12 PM
To: CF-Talk
Subject: RE: "including" functions

Can you show us the code for the function definition.... And then also
the snippet that invokes the method.

This email message may contain privileged and/or confidential information. If 
you are not the intended recipient(s), you are hereby notified that any 
dissemination, distribution, or copying of this email message is strictly 
prohibited. If you have received this message in error, please immediately 
notify the sender and delete this email message from your computer.

CAUTION: The Agency of Human Services cannot ensure the confidentiality or 
security of email transmissions.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273111
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to