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

MathGroup Archive 2010

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

Search the Archive

Re: Why Return[] does not work?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg109507] Re: Why Return[] does not work?
  • From: DrMajorBob <btreat1 at austin.rr.com>
  • Date: Sun, 2 May 2010 05:35:56 -0400 (EDT)

OK, it's a bug... but Return was never a good idea, anyway. Don't use it.

Bobby

On Wed, 28 Apr 2010 00:58:28 -0500, Dims <dims12 at hotmail.com> wrote:

> On 27 =D0=B0=D0=BF=D1=80, 16:28, Albert Retey <a... at gmx-topmail.de>  
> wrote:
>> Am 27.04.2010 13:41, schrieb Dims:
>> Intersects[x_List, y_List] := Catch[
>
> Yes, thank you, I also came to conclusion, that catch works. But I
> think it is a bug with return, since manual says, that we CAN use
> Return[] inside Do[].
>


-- 
DrMajorBob at yahoo.com


  • Prev by Date: how to solve for all integer solutions, linear programming
  • Next by Date: Re: Why Return[] does not work?
  • Previous by thread: Re: Why Return[] does not work?
  • Next by thread: Re: Why Return[] does not work?