Within the <cfcomponent or after it? Regards Dale Fraser
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Kear Sent: Monday, 3 July 2006 11:26 AM To: [email protected] Subject: [cfaussie] Re: Includes I have functions in Application.cfc that are outside the normal methods. i.e. not inside onRequestStart or onApplicationStart etc It just includes them as methods just like any other. Tom, are you sure you're not nesting your function inside another method? Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 7/3/06, Tom MacKean <[EMAIL PROTECTED]> wrote: > > I just cut and pasted the code from your post. I added the function after my > OnRequestEnd function and put the "Hello Max" code on a test page. The page > gives me the grey unexpected error box with Variable MAXFUNC is undefined. > > I'm running CFMX 7 on Apache / Windows XP. Maybe it's just me. Has anyone > else tried Max's code? > > > Tom > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~----------~----~----~----~------~----~------~--~---
