MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: Beginner--How to simulate multiple returns for a function?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66429] RE: [mg66415] Beginner--How to simulate multiple returns for a function?
  • From: "David Annetts" <davidannetts at aapt.net.au>
  • Date: Fri, 12 May 2006 02:03:11 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi, Xiochu,

> Another system's functions can have multiple returns, does Mathematica 
> support this?

In a sense ....

Just have your function return a list.  The multiple returns are the
elements of your list.

Regards,

Dave.


  • Prev by Date: Re: Geodesics with NDSolve
  • Next by Date: Re: Beginner--How to simulate multiple returns for a function?
  • Previous by thread: Beginner--How to simulate multiple returns for a function?
  • Next by thread: Re: Beginner--How to simulate multiple returns for a function?