MathGroup Archive 2005

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

Search the Archive

Re: Return[] in pure function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg58904] Re: Return[] in pure function
  • From: "sashap" <pavlyk at gmail.com>
  • Date: Sat, 23 Jul 2005 05:32:11 -0400 (EDT)
  • References: <dbou77$sqm$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In[1]:=
(Catch[If[#1 == 0, Throw[Error]]; #1] & ) /@ {1, 0}

Out[1]=
{1, Error}


  • Prev by Date: Re: Symbolic Constrained Maximization
  • Next by Date: Download mathematica icons?
  • Previous by thread: Re: Return[] in pure function
  • Next by thread: a bad demonstration of Mathematica's MathML capabilities