Re: How does NIntegrate suppress messages?

*To*: mathgroup at smc.vnet.net*Subject*: [mg62461] Re: How does NIntegrate suppress messages?*From*: "Andrew Moylan" <andrew.moylan at anu.edu.au>*Date*: Fri, 25 Nov 2005 02:24:59 -0500 (EST)*References*: <dm1b0v$ic1$1@smc.vnet.net> <dm499k$srh$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

It's quite a mystery. My guess is that NIntegrate temporarily redefines the Message[...] function. Personally, I want to know because I want to copy this behaviour of NIntegrate for my own functions, if it is easy. Often I write code that uses Check, and I don't want the messages generated and appearing as errors and clogging up the output. "Alan" <info at optioncity.REMOVETHIS.net> wrote in message news:dm499k$srh$1 at smc.vnet.net... > > "Andrew Moylan" <andrew.moylan at anu.edu.au> wrote in message > news:dm1b0v$ic1$1 at smc.vnet.net... >> Whenever the integrand in NIntegrate generates messages (by calling >> Message), the output of these messages are suppressed, although they are >> still generated in the sense that they can be caught using Check. Does >> anyone know how NIntegrate does this? > > I don't, but your post answers a question of mine about behavior which > has always seemed a puzzle. Often I will wrap a complicated > computation in a Check in order to Abort[] on any message. Then, I > will sometimes get an Abort[], but no message! And, indeed, often > an NIntegrate is involved. When that occurs, I have never been able to > re-write the code to retrieve those missing messages. > So if there is a way to "unsuppress", that will be helpful to me, too. > > regards, > alan > >