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}