Understand, I guess the proper terminology should be multiple "values" ?
--
Ryan LeTulle


On Fri, Jun 12, 2009 at 7:35 PM, Dave Watts <[email protected]> wrote:

>
> > Is it a common/best practice to return multiple variables from a cfc?
>  Like
> > if I wanted perform some processing in a cfc and return several
> variables.
> >  For the most part I have always returned either a query or 1 variable.
> >
> > If so, what would be the best return type for this?
> >
> > Does that make sense?  I'd like to do this in the most popular way.  I
> feel
> > like I can really consolidate some code on a certain project.
>
> You can't return multiple variables from a function call. You can only
> return one variable. Of course, that variable can contain other
> variables, multiple values, recordsets, etc.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more informat
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323471
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