Skip to content
Snippets Groups Projects
Commit 8571cc4e authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

..

parent acc96cfd
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,9 @@
- frida.ini location via -D ?
- restore ask callback help for lists (prompt for list, not for string)
- restore help on "?"
- calc mode: do not exit on error
CHECK - calc mode: do not exit on error
- wenn oio mehrere einzelne Spektren liefert, automatisch in einen File packen
- review definition of cauchy(,)
- plot range 1..1 +> gnuplot error
- curve: restricted fit range
- save session ? save inputs for replay !
......@@ -918,9 +918,13 @@ void NCalc::Calculator()
printf( "enter valid arithmetic expression, or q to quit\n");
continue;
}
user_xaxparse( s.c_str(), &T );
T->tree_point_val( &v );
printf("%.12g\n", v);
try {
user_xaxparse( s.c_str(), &T );
T->tree_point_val( &v );
printf("%.12g\n", v);
} catch( string& s ) {
cerr << s << endl;
}
}
} else {
// evaluate one expression, with respect to given file selection
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment