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


......................
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/


-----Original Message-----
From: Leitch, Oblio [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 19, 2007 4:14 PM
To: CF-Talk
Subject: RE: "including" functions

Well, I guess, specifically, this is what I've got: in Application.cfc,
I'm defining a new function reSubstring(); in there, I'm cfincluding a
chunk that does the actual processing.  When I try to run it, it fails
to execute (without throwing an error).

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

Oblio,

Using CFInclude should actually provie proper THIS / VARIABLES scope to
which ever CFC does the including. THIS and VARIABLES binding is done at
run time and will actually be accurate if two CFC SHARE the same
function pointer. Do you actually get an error from using CFInclude or
were just assuming this would not work (or am I just not understanding
what you meant)? 

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
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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

Reply via email to