Re: What's legit here?

*To*: mathgroup at smc.vnet.net*Subject*: [mg39977] Re: What's legit here?*From*: Steve Gray <stevebg at adelphia.net>*Date*: Thu, 13 Mar 2003 03:04:38 -0500 (EST)*References*: <b4moed$inr$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

On Wed, 12 Mar 2003 07:43:09 +0000 (UTC), Steve Gray <stevebg at adelphia.net> wrote: > In the following function, most of which you can ignore, >there is an If [ enalist ... etc. where several statements to be >executed if the If succeeds are grouped with ( ) . This works but I >thought the right way to group several statements together was with >{ }. The latter does not work and I find I don't know what the correct >way is. As usual, Mathematica did not complain with the { } or the ( ). The >effect was to have the If always fail and for the function to always >Return [ failu ]. > > Whether the comments get in the way, I don't know, but if someone >would define what's legal here, I would appreciate it. > Thank you. [snip code] Thanks to all who provided me with prompt, useful help. The work I'm doing with Mathematica involves searches over a huge parameter domain for a certain class of geometry theorem. It is a continuation of work appearing in the March 2003 American Mathematical Monthly, which just came out. If anyone wants a PDF, just e-mail me. Steve Gray