From: <no...@so...> - 2002-07-01 21:39:21
|
Bugs item #572670, was opened at 2002-06-23 01:31 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=572670&group_id=4933 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Vadim V. Zhytnikov (vvzhy) Assigned to: Nobody/Anonymous (nobody) Summary: plot2d and plot3d options Initial Comment: Typo in plot2d or plot3d option name results in Lisp error. Try plot2d(sin(x),[x,0,3],[aaa,1]); ---------------------------------------------------------------------- >Comment By: Raymond Toy (rtoy) Date: 2002-07-01 17:39 Message: Logged In: YES user_id=28849 Ok. We throw a maxima error instead of a Lisp error for unknown options. ---------------------------------------------------------------------- Comment By: Vadim V. Zhytnikov (vvzhy) Date: 2002-07-01 15:57 Message: Logged In: YES user_id=366498 I'd like to see Maxima error but not Lisp error. Maxima should newer dump user into lisp prompt. Right now it is not the case. Many simple errors are not properly handled by Maxima and result in Lisp errors. [vadim@proxl vadim]$ maxima -l gcl GCL (GNU Common Lisp) Version(2.5.0) Sat Jun 22 00:05:36 MSD 2002 Licensed under GNU Library General Public License Contains Enhancements by W. Schelter Maxima 5.9.0pre-cvs (with enhancements by W. Schelter). Licensed under the GNU Public License (see file COPYING) (C1) plot2d(sin(x),[x,0,3],[aaa,1]); Error: The ECASE key value |$aaa| is illegal. Fast links are on: do (si::use-fast-links nil) for debugging Error signalled by CATCH. Broken at MACSYMA-TOP-LEVEL. Type :H for Help. MAXIMA>> MAXIMA>>(quit) [vadim@proxl vadim]$ maxima -l clisp Maxima 5.9.0pre-cvs (with enhancements by W. Schelter). Licensed under the GNU Public License (see file COPYING) (C1) plot2d(sin(x),[x,0,3],[aaa,1]); *** - The value of NAME must be one of |$x|, |$y|, $VIEW_DIRECTION, $GRID, $NTICKS, $COLOUR_Z, $RUN_VIEWER, $TRANSFORM_XY, $PLOT_FORMAT The value is: |$aaa| 1. Break [1]> (quit) [vadim@proxl vadim]$ maxima -l cmucl Maxima 5.9.0pre-cvs (with enhancements by W. Schelter). Licensed under the GNU Public License (see file COPYING) (C1) plot2d(sin(x),[x,0,3],[aaa,1]); |$aaa| fell through ECASE expression. Wanted one of ($PLOT_FORMAT $COLOUR_Z $RUN_VIEWER $TRANSFORM_XY $NTICKS $GRID $VIEW_DIRECTION |$x| |$y|). Restarts: 0: [MACSYMA-QUIT] Macsyma top-level 1: [ABORT ] Skip remaining initializations. ---------------------------------------------------------------------- Comment By: Raymond Toy (rtoy) Date: 2002-07-01 10:36 Message: Logged In: YES user_id=28849 I don't find this to be a problem. What do you want to happen? Maxima just prints an message about an unknown option? Afterwards, should it be ignored? Stop? What? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=572670&group_id=4933 |