MathGroup Archive 2009

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

Search the Archive

Re: Return Ambiguity

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

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

--David
http://scientificarts.com/worklife



On Mar 12, 6:41 am, Raffy <ra... at mac.com> 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