Re: multiple outputs from a function
- To: mathgroup at smc.vnet.net
- Subject: [mg52854] Re: multiple outputs from a function
- From: paulw at cwgsy.net
- Date: Wed, 15 Dec 2004 04:26:13 -0500 (EST)
- References: <cpmivn$ojc$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Don't know if you have a solution already, but i would use: t1[x_,y_]:={x^2+y,x+y^2,x+y}; {a1,a2,a3}=t1[var1,var2] This will set a1, a2 and a3 as parts 1,2 and 3 in the list.