Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2009

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

Search the Archive

Re: Return Ambiguity

  • To: mathgroup at
  • Subject: [mg97442] Re: Return Ambiguity
  • From: dbreiss at
  • Date: Fri, 13 Mar 2009 04:51:18 -0500 (EST)
  • References: <gpaotd$qeb$>

I generally never use Return.

Try using Catch and Throw, which give you much more sophisticated
control of things...  Also Reap and Sow are quite worth looking


On Mar 12, 6:41 am, Raffy <ra... at> wrote:
> How do you determine how far Return actually returns?  I have avoided
> using this function after having difficult getting it to return to the
> proper level of execution.
> In general, does it return to the nearest held expression?
> The documentation is really ambiguous.

  • Prev by Date: Re: Return Ambiguity
  • Next by Date: Re: Return Ambiguity
  • Previous by thread: Re: Return Ambiguity
  • Next by thread: Re: Return Ambiguity