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

corr alph order

parent 455c8936
No related branches found
No related tags found
No related merge requests found
......@@ -104,22 +104,22 @@ void COlc::parseFunction( const string& _expr )
void COlc::askCurve( const string& quest )
{
ask_again:
string resp = sask( quest+" (or e(i|c)(r|w); h for help) ?" );
string resp = sask( quest+" (or e(c|i)(r|w); h for help) ?" );
if ( resp=="h" ) {
cout <<
"curve definition:\n"
"- either an arithmetic expression,\n"
" containing the running variable t,\n"
" for instance: p0+p1*t\n"
"- or external evaluation mode e(i|c)(u|a)\n"
"- or external evaluation mode e(c|i)(r|w)\n"
" next question will ask for external program\n"
" i: program reads #pars, pars from standard input\n"
" c: program reads pars from command line\n"
" i: program reads #pars, pars from standard input\n"
" r: program reads #points, points from standard input\n"
" w: program writes default grid, Frida interpolates\n";
goto ask_again;
} else if ( resp.size()==3 && resp[0]=='e' &&
( resp[1]=='i' || resp[1]=='c' ) &&
( resp[1]=='c' || resp[1]=='i' ) &&
( resp[2]=='r' || resp[2]=='w' ) ) {
if ( resp[1]=='i' )
scrInpMode = COlc::_STDIN;
......
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