Thanks for your suggestion Mark. My interest is more general really, but in this example, it's for an application where students are finding courses to study. The they enter a whole lot of info about themselves, and I want to tell them that this course is number X, costs Y and starts on zz/zz/zzzz. The method will run several times for the various courses that might suit.
So it's clear I have to put the results of the processing in a struct and pass that back as a variable. That's ok I can work with that. I'm getting pretty good with structs now. I can even create one on my first try without making syntax errors. As long as I have Ben's book or Barry Moore's book open near by. Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark M Sent: Wednesday, 17 December 2003 3:42 PM To: CFAussie Mailing List Subject: [cfaussie] RE: Returning several variables from a CFC ? Just to note - If you have a method that you want to return more than one variable from - it is low cohesion (bad), and therefore should be split into seperate into differing methods, each specific to it's purpose. Is there no way you can do it as seperate methods? as this would be a more ideal solution. Mark ------------------------------------------------------------------ [EMAIL PROTECTED] ICQ: 3094740 Safe From Bees [ www.safefrombees.com ] Quoting Andrew Scott <[EMAIL PROTECTED]>: > You get the variables scope. > > > Regards > Andrew Scott > Technical Consultant > > NuSphere Pty Ltd > Level 2/33 Bank Street > South Melbourne, Victoria, 3205 > > Phone: 03 9686 0485 - Fax: 03 9699 7976 > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > > MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia > http://www.mxdu.com/ + 24-25 February, 2004 > > > --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004 --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
