Can you have a CFC return several variables?  If so, how? 

Here's the situation ... I have a CFC that validates a code, looks up some
values in a table and returns them.  I want to be able to return a variable
saying "yes, it's valid"  and another with the fee, another with the start
date.

Can I have the CFC include the following:

<Cfset codevalid = true>
<cfset fee = "#calculatedfee#">
<cfset startdate = "#lookupdate#">

<cfreturn codevalid>
<cfreturn fee>
<cfreturn startdate>


Or do I have to put all the values into a struct and return the struct?


Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com





---
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

Reply via email to