make error message more useful

December 07 2009 by PatrickT 1124

0

0


This is a suggestion designed to make it easier for newbies to use Maple.

Example:

 > solve(f=0,x,x=-1..1);
 Error, (in solve) invalid arguments

could be instead:

Error, (in solve) invalid arguments. 
It looks like you have provided a range for solve, which doesn't require one. Related commands include: fsolve, dsolve. Check the Help menu for solve/details.

This could be done by default for the most popular calls, such as solve, plot, etc. with an option to disable the verbose error message for advanced users. Or else to disable it by default but to produce a message advertising the option "verbose" after each call to restart; so that newbies may easily access it.


Loading Comments

You must be log into your MaplePrimes account in order to post a comment. If you don't have an account, you can create an account here.

     

Forgot Your Password? Create an Account