Full text of the current warning message(s)
- To: mathgroup at smc.vnet.net
- Subject: [mg33389] Full text of the current warning message(s)
- From: Vladimir Bondarenko <vvb at mail.strace.net>
- Date: Mon, 18 Mar 2002 23:39:06 -0500 (EST)
- Reply-to: Vladimir Bondarenko <vvb at mail.strace.net>
- Sender: owner-wri-mathgroup at wolfram.com
$MessageList is a global variable that gives a *list* of the names of messages generated by Mathematica during the evaluation of the current input line. How can I get the WHOLE text of the warning message(s)? (not only a template like "Expression `1` contains`2`" which are stored in Message.m) ? For example, NSum[1, {n, 1, foo}] generates the following warning message NSum::"nslim": "Limit of summation foo is not a number." What is the simplest way to store this string into a variable? Vladimir Bondarenko