display of exec fixed. 40/16940/2
Cedric Delamarre [Thu, 30 Jul 2015 15:15:04 +0000 (17:15 +0200)]
function testExec()
    c = 1
    b = 2
endfunction
exec(testExec, "errcatch", -1);

Change-Id: I9b67f425668ea6acc201d8f65fac08a605d2f915

scilab/modules/functions/sci_gateway/cpp/sci_exec.cpp

index 264cfcb..f898a09 100644 (file)
@@ -244,7 +244,6 @@ types::Function::ReturnValue sci_exec(types::typed_list &in, int _iRetCount, typ
             return Function::Error;
         }
 
-        promptMode = 3;
         pExp = pMacro->getBody();
 
         // update where to set the name of the executed macro instead of "exec"